diff --git a/404.html b/404.html index 9fa53f4..8db07ed 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -
This page will document my recommended best practices. Note that the first rule of best practices is that there are no best practices.
File names should use kebab-case such as best-practices.md
.
A page’s title should be at the top of a markdown file. Only capitalize the first letter. It is preceded by a single #
and a space.
# Best practices
+Best practices - apos-docs Best practices
This page will document my recommended best practices. Note that the first rule of best practices is that there are no best practices.
File name
File names should use kebab-case such as best-practices.md
.
Title
A page’s title should be at the top of a markdown file. Only capitalize the first letter. It is preceded by a single #
and a space.
# Best practices
Description
Each page should have a description. It should directly follow the title. It should be shorter than 160 characters.
# Best practices
This page will document my recommended best practices. Note that the first rule of best practices is that there are no best practices.
Edit this page on GitHub
\ No newline at end of file
diff --git a/design-choices/index.html b/design-choices/index.html
index f820423..62f3593 100644
--- a/design-choices/index.html
+++ b/design-choices/index.html
@@ -1 +1 @@
-Design choices - apos-docs Design choices
High level overview for the apos-docs design decisions.
Markdown
- The markdown should be readable by itself from GitHub. This means that links must work in the context of the repository and be rewritten for the static site.
- Avoid custom markdown syntax unless absolutely necessary.
- The page’s first h1 tag will be used as the page title. The site name will be appended to it.
- The page’s first p tag will be used as the page description.
- Pages that have multiple headings will have a table of content generated.
- Each page in the generated site will include an edit link that points to the same page in the GitHub repository.
Images
- Support jpg, png, gif
- Links to images must work in the context of the repository and be rewritten for the static site.
Routing
README.md
files become index.html
.- Other pages such as
page.md
become page/index.html
.
Navigation
Stored in docs/_data/nav.yml
and contains:
- Nested list of links to navigate through the docs’ pages.
- List of social media links.
Edit this page on GitHub
\ No newline at end of file
+Design choices - apos-docs Design choices
High level overview for the apos-docs design decisions.
Markdown
- The markdown should be readable by itself from GitHub. This means that links must work in the context of the repository and be rewritten for the static site.
- Avoid custom markdown syntax unless absolutely necessary.
- The page’s first h1 tag will be used as the page title. The site name will be appended to it.
- The page’s first p tag will be used as the page description.
- Pages that have multiple headings will have a table of content generated.
- Each page in the generated site will include an edit link that points to the same page in the GitHub repository.
Images
- Support jpg, png, gif
- Links to images must work in the context of the repository and be rewritten for the static site.
Routing
README.md
files become index.html
.- Other pages such as
page.md
become page/index.html
.
Navigation
Stored in docs/_data/nav.yml
and contains:
- Nested list of links to navigate through the docs’ pages.
- List of social media links.
Edit this page on GitHub
\ No newline at end of file
diff --git a/getting-started/index.html b/getting-started/index.html
index 8e55bc1..ca8d948 100644
--- a/getting-started/index.html
+++ b/getting-started/index.html
@@ -1,4 +1,4 @@
-Getting started - apos-docs Getting started
Quick guide to get you started with apos-docs.
Setup
In your GitHub repository’s root, you will need the following:
Getting started - apos-docs Getting started
Quick guide to get you started with apos-docs.
Setup
In your GitHub repository’s root, you will need the following:
Hello - apos-docs Hello
Just a hello.
World
world!
Edit this page on GitHub
\ No newline at end of file
+Hello - apos-docs Hello
Just a hello.
World
world!
Edit this page on GitHub
\ No newline at end of file
diff --git a/index.html b/index.html
index d4e6525..1d78d1f 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-apos-docs apos-docs
Documentation static site generator built with Eleventy.
It should work out of the box with minimal configuration. This is meant to be used in combination with GitHub Pages. The final output should work with JavaScript disabled.
Description
Takes in a docs
directory along with your main README.md
. Compiles the output into an apos-docs/_site
directory. Adds the content of the apos-docs/_site
directory to a gh-pages
branch. The documentation for your repository will be available at [username].github.io/[repository name]
.
Documentation
Tech Stack
Used by
- https://learn-monogame.github.io/
- https://apostolique.github.io/Apos.Input/
- https://apostolique.github.io/Apos.Gui/
- https://apostolique.github.io/Apos.Camera/
Edit this page on GitHub
\ No newline at end of file
+apos-docs apos-docs
Documentation static site generator built with Eleventy.
It should work out of the box with minimal configuration. This is meant to be used in combination with GitHub Pages. The final output should work with JavaScript disabled.
Description
Takes in a docs
directory along with your main README.md
. Compiles the output into an apos-docs/_site
directory. Adds the content of the apos-docs/_site
directory to a gh-pages
branch. The documentation for your repository will be available at [username].github.io/[repository name]
.
Documentation
Tech Stack
Used by
- https://learn-monogame.github.io/
- https://apostolique.github.io/Apos.Input/
- https://apostolique.github.io/Apos.Gui/
- https://apostolique.github.io/Apos.Camera/
Edit this page on GitHub
\ No newline at end of file
diff --git a/markdown/index.html b/markdown/index.html
index 42abfb2..4bd1207 100644
--- a/markdown/index.html
+++ b/markdown/index.html
@@ -1,4 +1,4 @@
-Markdown showcase - apos-docs Markdown showcase
This page shows a preview of the markdown features that are supported.
h1 Heading 😎
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Horizontal Rules
Typographic replacements
Enable typographer option to see result.
© © ® ® ™ ™ (p) (P) ±
test… test… test… test?.. test!..
!!! ??? , – —
“Smartypants, double quotes” and ‘single quotes’
Emphasis
This is bold text
This is bold text
This is italic text
This is italic text
Strikethrough
Blockquotes
Blockquotes can also be nested…
…by using additional greater-than signs right next to each other…
…or with spaces between arrows.
Lists
Unordered
- Create a list by starting a line with
+
, -
, or *
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Very easy!
Ordered
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
You can use sequential numbers…
…or keep all the numbers as 1.
Start numbering with offset:
- foo
- bar
Code
Inline code
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code “fences”
Markdown showcase - apos-docs Markdown showcase
This page shows a preview of the markdown features that are supported.
h1 Heading 😎
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Horizontal Rules
Typographic replacements
Enable typographer option to see result.
© © ® ® ™ ™ (p) (P) ±
test… test… test… test?.. test!..
!!! ??? , – —
“Smartypants, double quotes” and ‘single quotes’
Emphasis
This is bold text
This is bold text
This is italic text
This is italic text
Strikethrough
Blockquotes
Blockquotes can also be nested…
…by using additional greater-than signs right next to each other…
…or with spaces between arrows.
Lists
Unordered
- Create a list by starting a line with
+
, -
, or *
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Very easy!
Ordered
Lorem ipsum dolor sit amet
Consectetur adipiscing elit
Integer molestie lorem at massa
You can use sequential numbers…
…or keep all the numbers as 1.
Start numbering with offset:
- foo
- bar
Code
Inline code
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code “fences”
Sample text here...
Syntax highlighting
var foo = function (bar) {
return bar++;
};
diff --git a/other-page/index.html b/other-page/index.html
index 37368fc..4aaafee 100644
--- a/other-page/index.html
+++ b/other-page/index.html
@@ -1 +1 @@
-Other page - apos-docs Other page
This is an example page that shouldn’t have any table of content.
Edit this page on GitHub
\ No newline at end of file
+Other page - apos-docs Other page
This is an example page that shouldn’t have any table of content.
Edit this page on GitHub
\ No newline at end of file
Sample text here...
+
README.md
docs/getting-started.md
docs/img/Icon.png
docs/_data/nav.yml
diff --git a/hello-world/index.html b/hello-world/index.html
index 57f7a64..846e469 100644
--- a/hello-world/index.html
+++ b/hello-world/index.html
@@ -1 +1 @@
-
README.md
+