chore: reorganize doc site structure by moving core docs under modules/ and removing category metadata

Restructure the documentation hierarchy to prepare for documenting additional built-in modules. Move all core library documentation from `doc/site/core/` to `doc/site/modules/core/`, rename `modules.markdown` to `modularity.markdown`, remove `^category` metadata lines from all affected pages, update cross-reference links to use relative paths under the new structure, and add a TODO placeholder to the Class class page.
This commit is contained in:
Bob Nystrom
2015-11-08 21:31:22 +00:00
parent 4562b2e497
commit 909c242a03
52 changed files with 771 additions and 178 deletions
+15 -15
View File
@@ -24,10 +24,10 @@ $link-hover: hsl(210, 100%, 80%);
$link-dark: hsl(210, 60%, 20%);
$link-glow: hsla(210, 100%, 50%, 0.4);
$core-link: hsl(150, 70%, 40%);
$core-link-hover: hsl(130, 70%, 70%);
$core-link-dark: hsl(160, 60%, 25%);
$core-link-glow: hsla(130, 90%, 50%, 0.4);
$module-link: hsl(150, 70%, 40%);
$module-link-hover: hsl(130, 70%, 70%);
$module-link-dark: hsl(160, 60%, 25%);
$module-link-glow: hsla(130, 90%, 50%, 0.4);
* {
-moz-box-sizing: border-box;
@@ -188,7 +188,7 @@ a {
main {
@extend .main-column;
padding-top: 12px;
float:left;
float: left;
}
a:hover {
@@ -315,25 +315,25 @@ footer {
}
}
// Have a different primary color for the core library docs.
body.core {
// Have a different primary color for the module docs.
body.module {
header {
a {
color: $gray-20;
}
a:hover {
color: $core-link-hover;
text-shadow: 0 0 6px $core-link-glow;
color: $module-link-hover;
text-shadow: 0 0 6px $module-link-glow;
}
}
a {
color: $core-link;
color: $module-link;
}
a:hover {
color: $core-link-dark;
color: $module-link-dark;
}
.header-anchor {
@@ -342,22 +342,22 @@ body.core {
main {
h1, h2, h3 {
color: $core-link;
color: $module-link;
}
h2:hover > .header-anchor:hover,
h3:hover > .header-anchor:hover {
color: $core-link-dark;
color: $module-link-dark;
}
}
footer {
a {
color: $core-link-hover;
color: $module-link-hover;
}
a:hover {
color: $core-link;
color: $module-link;
}
}
}