Skip to content

Commit 69dca46

Browse files
authored
Merge pull request #36 from grain-lang/spring-sprucing
Spring sprucing
2 parents ee71770 + edb93af commit 69dca46

36 files changed

+690
-85
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ db.json
55
node_modules/
66
.deploy*/
77
_multiconfig.yml
8-
docs/
9-
guide/
8+
/docs
9+
/guide

docs_config.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,32 @@ permalink: :year/:month/:day/:title/
1818
permalink_defaults:
1919

2020
# Directory
21-
source_dir: docs_source
21+
source_dir: src
2222
public_dir: docs
2323
tag_dir: tags
2424
archive_dir: archives
2525
category_dir: categories
2626
code_dir: downloads/code
2727
i18n_dir: :lang
28-
skip_render:
28+
pretty_urls:
29+
trailing_html: false
2930

3031
project: docs
3132
sidebar_title: The Grain Docs
3233
docs_groups:
3334
null:
3435
- index
35-
- getting_started
36+
- getting_grain
37+
- editor_setup
38+
The Guide:
39+
- guide/hello_world
40+
- guide/basics
41+
- guide/boxes
42+
The Docs:
43+
- intro
44+
Standard Library:
45+
- stdlib/list
46+
- stdlib/DOM
3647
Language Constructs:
3748
- constructs/overview
3849
- constructs/bindings
@@ -44,9 +55,6 @@ docs_groups:
4455
- constructs/conditionals
4556
- constructs/types
4657
- constructs/pattern_matching
47-
Standard Library:
48-
- stdlib/list
49-
- stdlib/DOM
5058
# Writing
5159
new_post_name: :title.md # File name of new posts
5260
default_layout: post
@@ -95,3 +103,8 @@ theme: grain
95103
## Docs: https://hexo.io/docs/deployment.html
96104
deploy:
97105
type:
106+
107+
server:
108+
serveStatic:
109+
extensions:
110+
- html

docs_source/index.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

guide_config.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<nav id="nav">
4444
<a href="/"><img class="nav-logo" src="/images/grain_logo_white.svg"></a>
4545
<div class="nav-links">
46-
<a href="/guide" class="nav-link heading">Guide</a>
47-
<a href="/docs" class="nav-link heading">Documentation</a>
46+
<a href="/docs" class="nav-link heading">Guide</a>
47+
<a href="/docs/intro" class="nav-link heading">Documentation</a>
4848
<a href="https://github.com/grain-lang/grain/graphs/contributors" class="nav-link heading">Community</a>
4949
</div>
5050
<div class="nav-social-links">
@@ -56,7 +56,7 @@
5656
<img class="brand" src="/images/grain_shorthand_white.svg">
5757
<h1 class="hero-heading heading">A modern web staple.</h1>
5858
<h2 class="hero-heading2 heading">Grain is a new language that puts academic language features to work.</h2>
59-
<a href="/guide" class="button hero-cta">Let's Go</a>
59+
<a href="/docs" class="button hero-cta">Let's Go</a>
6060
</div>
6161
</section>
6262
<section class="blurbs">
@@ -103,15 +103,15 @@ <h2 class="contribute-header heading">
103103
<section class="banner">
104104
<h2 class="heading banner-header">Build it with Grain.</h2>
105105
<p class="banner-message">Start a project now and help shape the future of Grain.</p>
106-
<a href="/guide" class="banner-cta button">Let's Go</a>
106+
<a href="/docs" class="banner-cta button">Let's Go</a>
107107
</section>
108108
<footer class="footer">
109109
<img src="/images/grain_shorthand_color.svg" alt="Grain shorthand" class="footer-logo">
110110
<div class="footer-links">
111111
<p class="footer-link-header">For Developers</p>
112112
<ul>
113-
<li><a href="/guide">Guide</a></li>
114-
<li><a href="/docs">Documentation</a></li>
113+
<li><a href="/docs">Guide</a></li>
114+
<li><a href="/docs/intro">Documentation</a></li>
115115
<li><a href="https://github.com/grain-lang/grain/graphs/contributors">Community</a></li>
116116
</ul>
117117
</div>

javascripts/active-menu-link.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)