Skip to content

Commit 36f57c0

Browse files
Adds placeholders for a bunch of content.
1 parent d269eef commit 36f57c0

File tree

5 files changed

+51
-71
lines changed

5 files changed

+51
-71
lines changed

assets/js/clipboard.js

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,25 @@ var pre = document.getElementsByTagName('pre');
44

55
for (var i = 0; i < pre.length; ++ i)
66
{
7-
var element = pre[i];
8-
var mermaid = element.getElementsByClassName('language-mermaid')[0];
9-
10-
if (mermaid == null) {
11-
element.insertAdjacentHTML('afterbegin', '<button class="btn btn-copy"></button>');
12-
}
7+
var element = pre[i];
8+
9+
var mermaid = element.getElementsByClassName('language-mermaid')[0];
10+
if (mermaid == null) {
11+
element.insertAdjacentHTML('afterbegin', '<button class="btn btn-copy"></button>');
12+
13+
if (element.nextElementSibling) {
14+
if (element.nextElementSibling.localName == "pre") {
15+
element.style.marginBottom = 0;
16+
}
17+
}
18+
}
19+
if (element.previousElementSibling) {
20+
if (element.previousElementSibling.localName == "pre") {
21+
element.style.marginTop = 0;
22+
element.style.opacity = 0.5;
23+
element.querySelector(".btn-copy").remove();
24+
}
25+
}
1326
}
1427

1528
var clipboard = new Clipboard('.btn-copy', {

config/_default/menus/menus.en.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
name = "Basics"
99
weight = 10
1010
identifier = "docs-basics"
11-
url = "/docs/basics/start-here"
11+
url = "/docs/basics/create-your-project"
1212
parent = "docs"
1313

1414
[[main]]
@@ -36,7 +36,7 @@
3636
name = "Commands"
3737
weight = 10
3838
identifier = "reference-commands"
39-
url = "/reference/commands"
39+
url = "/reference/commands/build-site/"
4040
parent = "reference"
4141

4242
[[main]]
@@ -50,7 +50,7 @@
5050
name = "Front-matter"
5151
weight = 30
5252
identifier = "reference-front-matter"
53-
url = "/reference/front-matter"
53+
url = "/reference/front-matter/title/"
5454
parent = "reference"
5555

5656
[[main]]
Loading

content/en/docs/basics/create-your-project/index.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,48 @@ type: docs
88
menu:
99
docs:
1010
parent: "lorem"
11-
identifier: "create-your-project-9d2f2cbbbcdae19f374658ee5b8db931"
12-
weight: 10
11+
identifier: "create-your-project-d2c050fb5faacaef26719b08ac79b55e"
12+
weight: 1
1313
toc: true
1414
---
1515

16-
This is a sidebar item page. Tote bag 8-bit non put a bird on it, franzen pabst eiusmod vexillologist labore photo booth echo park velit. Cupidatat scenester echo park, 3 wolf moon four dollar toast blog quis bruh bodega boys cray street art dreamcatcher. Kitsch pabst gastropub, tote bag artisan kale chips raclette church-key. Poutine roof party laboris in. Nostrud ea vibecession helvetica thundercats. Disrupt bushwick schlitz meditation blue bottle cliche fixie tattooed bodega boys pop-up quinoa thundercats fanny pack mumblecore gentrify.
16+
So you want to make a docs site.
1717

18-
## Selvage
18+
![](homepage-screenshot.png)
1919

20-
I'm baby yOLO praxis ethical health goth marfa. Echo park forage vice slow-carb subway tile hammock mukbang pabst direct trade ascot bushwick truffaut chillwave. Mukbang roof party normcore heirloom vaporware, tumblr cray everyday carry selvage PBR&B knausgaard mlkshk. Tumblr raw denim pok pok hexagon salvia.
20+
Well you're in the right place. This repository contains everything you need to spin up a good looks documentation website _without_ a bunch of bloat that you don't need.
2121

22-
Pug gluten-free scenester mustache sartorial hoodie. Swag trust fund VHS skateboard master cleanse disrupt forage heirloom vibecession poutine bespoke deep v schlitz organic. DIY green juice pok pok pinterest DSA tilde ethical. Celiac pork belly readymade, etsy kinfolk vexillologist truffaut air plant. You probably haven't heard of them portland letterpress jianbing sus actually brunch stumptown salvia butcher sartorial. Squid taiyaki activated charcoal bushwick umami viral.
22+
## Overview
2323

24-
### Heirloom
24+
Spinning up your site is crazy simple. Here's the basic process:
2525

26-
Banh mi mixtape swag lumbersexual jean shorts, jianbing PBR&B pok pok lomo meditation hammock actually fashion axe squid gochujang. Squid poke shabby chic church-key mlkshk schlitz. Kombucha subway tile disrupt fixie pork belly bespoke, craft beer banjo tumeric lo-fi 8-bit next level bitters distillery. Squid XOXO yuccie authentic. Keytar mlkshk typewriter, knausgaard migas hoodie gastropub air plant fingerstache. Heirloom salvia 3 wolf moon shaman.
26+
1. Grab the template repository from GitHub.
27+
1. Clone your newly created repository down to your local computer:
2728

28-
Iceland next level literally, butcher pok pok gentrify readymade shaman. Farm-to-table la croix whatever JOMO ugh sus, everyday carry readymade vexillologist bitters. +1 blog intelligentsia hashtag umami, celiac vice photo booth. Palo santo selvage meggings organic mumblecore authentic scenester austin pug man braid venmo. Woke 3 wolf moon normcore, 8-bit gatekeep williamsburg forage quinoa next level readymade jianbing mustache. Trust fund swag godard tumblr chicharrones mlkshk vaporware.
29+
```shell
30+
git clone https://github.com/<YOUR_USERNAME>/docs-starter
31+
```
2932

30-
Succulents taiyaki lyft man bun pug tonx plaid meh salvia tofu. Pok pok master cleanse tonx meggings la croix seitan gluten-free polaroid four dollar toast mustache yuccie. Roof party woke polaroid praxis gatekeep etsy shaman. Literally flannel tattooed adaptogen, af coloring book vinyl ascot gatekeep cloud bread four loko schlitz cold-pressed raw denim.
33+
```plaintext
34+
A bunch of GitHub stuff...
35+
...
36+
...
37+
```
3138

32-
## Bushwick cold-pressed
39+
1. Move into the `docs-starter` directory and `npm install` everything:
40+
<!-- TODO: grab output from `npm install`. -->
3341

34-
Put a bird on it truffaut vinyl 3 wolf moon succulents big mood organic direct trade jianbing ramps glossier vaporware readymade keffiyeh. Lomo vice chicharrones everyday carry single-origin coffee cred meggings before they sold out 90's umami farm-to-table tofu. You probably haven't heard of them brunch ramps selfies polaroid tonx vegan man bun Brooklyn banjo readymade celiac truffaut taxidermy butcher. Mixtape affogato vape bespoke, selvage humblebrag la croix. Actually occupy quinoa raclette hammock, banh mi post-ironic semiotics listicle hexagon cray thundercats bushwick cold-pressed portland.
42+
```shell
43+
cd docs-starter
44+
npm install
45+
```
3546

36-
Pitchfork keytar hoodie, disrupt gastropub biodiesel green juice VHS celiac. Ethical cliche tousled vaporware authentic blog. Quinoa thundercats shaman, cred plaid chartreuse banjo swag. Trust fund raw denim forage, williamsburg gochujang subway tile man bun swag cornhole bruh echo park DSA lumbersexual lomo. Mlkshk distillery fanny pack kinfolk subway tile edison bulb.
47+
```plaintext
48+
Whatever `npm install` spits out.
49+
```
3750

38-
## Locavore swag
51+
1. Done!
3952

40-
Chartreuse flannel 90's coloring book keffiyeh. Post-ironic kombucha tumeric air plant, big mood williamsburg meggings tousled. Vibecession schlitz mumblecore tofu photo booth austin cred. Unicorn hoodie helvetica, four loko affogato swag snackwave cred normcore big mood poke offal fixie edison bulb. Shabby chic tumeric shoreditch fanny pack mlkshk. Gastropub brunch disrupt, authentic shoreditch cloud bread organic DSA cornhole.
53+
## Next steps
4154

42-
Normcore pinterest gluten-free skateboard godard. Cardigan man bun cred locavore etsy ugh vape tousled swag. Sus art party migas kickstarter tattooed activated charcoal pok pok. Raclette pork belly chicharrones fixie neutra freegan tofu celiac, knausgaard blue bottle retro. +1 tattooed pork belly waistcoat.
43-
44-
Gentrify fixie schlitz +1 90's tousled. Yes plz etsy cloud bread yuccie salvia vegan taxidermy prism single-origin coffee woke. Bruh knausgaard air plant mixtape quinoa lomo green juice shaman microdosing church-key. Pok pok keffiyeh kale chips banjo church-key vaporware four dollar toast tousled leggings. Authentic ramps PBR&B, biodiesel bruh tumblr butcher echo park vice. Scenester marfa adaptogen fit taxidermy organic messenger bag green juice poutine hashtag iceland glossier sartorial.
55+
Your project is all set! Next up is [adding some pages]({{< relref "add-some-pages" >}}).

content/en/docs/basics/start-here/index.md

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

0 commit comments

Comments
 (0)