-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs Github Pages - Navigation menu (#21)
* Don't use incremental mode, doesn't properly apply changes even when restarting local server * Make a common and a specific section in both config files for ease of maintenance * Configure navigation menu * Fix useless TOC * Improve CHANGELOG.md and FAQ * Add script to build dependencies TOC * Add CONTRIBUTING
- Loading branch information
1 parent
a55e8db
commit d5afecb
Showing
66 changed files
with
486 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
Changelog | ||
=== | ||
|
||
|
||
- v1.0.0 - 2020-02-28 | ||
- Initial release, production-ready (doc to be improved) | ||
[GO TO CHANGELOG](https://unlyed.github.io/next-right-now/CHANGELOG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[GO TO CONTRIBUTING](https://unlyed.github.io/next-right-now/CONTRIBUTING) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: default | ||
title: CONTRIBUTING | ||
nav_order: 90 | ||
--- | ||
|
||
# Contributing | ||
|
||
## Contributing about documentation | ||
|
||
Our documentation lives in the `docs/` folder. It is generated by Github Pages. | ||
|
||
Only the master branch generates the online documentation. It is available at [https://unlyed.github.io/next-right-now/](https://unlyed.github.io/next-right-now/) | ||
|
||
It uses [Jekyll](https://jekyllrb.com/) behind the wheel, and [`just-the-docs`](https://pmarsceill.github.io/just-the-docs/) theme for Jekyll. | ||
|
||
### Installing Jekyll locally | ||
|
||
In order to contribute to the docs, you may need to install Jekyll locally (especially for non-trivial changes). | ||
Jekyll needs Ruby binary. | ||
|
||
1. Install and configure Jekyll on your computer, follow [https://jekyllrb.com/docs/](https://jekyllrb.com/docs/) | ||
1. Once Jekyll is installed, you can install all Ruby gems using `yarn doc:gem:install` | ||
1. Once gems are installed, you can run Jekyll by using `yarn doc:start` | ||
|
||
### Configuring Jekyll properly | ||
|
||
Jekyll configuration uses 2 different files. | ||
- [`docs/_config.yml`](docs/_config.yml) used by Github Pages | ||
- [`docs/_config-development.yml`](docs/_config-development.yml) used by your local installation | ||
|
||
There are a few, but important differences between both. The custom configuration must be written at the top of each config file. | ||
The shared configuration must be written below. | ||
|
||
> **N.B**: If you add custom/shared configuration, don't forget update both config files, as needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
title: CHANGELOG | ||
nav_order: 80 | ||
--- | ||
|
||
Changelog | ||
=== | ||
|
||
|
||
- v1.0.0 - 2020-02-28 | ||
- Initial release, production-ready (doc to be improved) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
docs/concepts/ENV_AND_STAGES.md → docs/concepts/env-and-stages.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: default | ||
title: Concepts | ||
nav_order: 30 | ||
has_children: true | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
title: Monitoring | ||
parent: Concepts | ||
nav_order: 50 | ||
--- | ||
|
||
TODO wasn't documented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
title: Tenancy (MT & MST) | ||
parent: Concepts | ||
nav_order: 20 | ||
--- | ||
|
||
TODO explain multi-tenants and multi single-tenants designs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Testing | ||
parent: Concepts | ||
nav_order: 70 | ||
--- | ||
|
||
# Testing | ||
|
||
## CI tests Workflow | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: default | ||
title: Getting started | ||
nav_order: 20 | ||
has_children: true | ||
--- | ||
|
||
# Introduction | ||
|
||
> Below are explanations about how NRN works and why we did things the way we did | ||
> | ||
> **Tip**: If you're interested about how to use this project for your own need, see our ["How to use" Guide](./README_HOW_TO_USE.md) instead! | ||
## Introduction videos | ||
|
||
### Part 1 - Overview of Next Right Now (15 minutes) | ||
[](http://youtu.be/kltkFwnFL-k?hd=1) | ||
|
||
> Let's talk about why we built RNR in the first place, how it's meant to be used, whom it is for. | ||
> | ||
> This video features Zeit deployments, i18n, GraphCMS, Locize in-context editor, Sentry monitoring, Amplitude analytics, CI/CD Github Actions | ||
### Part 2 - Developer Experience with Next Right Now (15 minutes) | ||
[](http://youtu.be/fGlgIEeUqFg?hd=1) | ||
|
||
> Let's talk about the developer experience (DX) provided by NRN and how it helps being more efficient. | ||
> | ||
> This video features GraphQL auto-completion and local schema update, deployment workflow, CI/CD Github Actions explanations, interactive E2E testing, GraphsCMS field creation | ||
### Guides | ||
- [How to run NRN in debug mode using WebStorm debug configuration](http://youtu.be/3vbkiRAT4e8?hd=1) (2 minutes) | ||
|
||
--- | ||
|
||
## Showcases - Live demo | ||
|
||
You can see 2 almost identical demo at: | ||
- [https://nrn-customer1.now.sh](https://nrn-customer1.now.sh) | ||
- [https://nrn-customer2.now.sh](https://nrn-customer2.now.sh) | ||
|
||
**Both share the same source code and configuration**, but the database content is different (hosted on GraphCMS). | ||
|
||
> **Tip**: You can get metadata at [/api/status](https://nrn-customer1.now.sh/api/status) | ||
> | ||
> **Tip**: All `/api/*` are serverless functions, running under AWS Lambda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
docs/overview/INTRODUCTION.md → docs/getting-started/overview.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: default | ||
title: Variants | ||
parent: Getting started | ||
nav_order: 40 | ||
--- | ||
|
||
TODO Explain variants https://github.com/UnlyEd/next-right-now/issues/18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: default | ||
title: "[Analytics] Amplitude" | ||
parent: How to | ||
nav_order: 40 | ||
has_children: true | ||
--- |
8 changes: 8 additions & 0 deletions
8
docs/how-to/analytics/REMOVE_AMPLITUDE.md → ...o/analytics-amplitude/remove-amplitude.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Setup Amplitude | ||
parent: "[Analytics] Amplitude" | ||
grand_parent: How to | ||
nav_order: 10 | ||
--- | ||
|
||
TODO wasn't documented | ||
|
Oops, something went wrong.