-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from alphagov/firebreak
Update information architecture
- Loading branch information
Showing
42 changed files
with
512 additions
and
382 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
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
3 changes: 3 additions & 0 deletions
3
source/configuration-options.html.md.erb → ...d_project/configuration/index.html.md.erb
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,14 @@ | ||
--- | ||
title: "Change your documentation project" | ||
weight: 30 | ||
last_reviewed_on: 2019-10-03 | ||
review_in: 1 day | ||
--- | ||
|
||
# Change your documentation project | ||
|
||
You can change your documentation project by: | ||
|
||
- changing the content | ||
- updating your documentation to use the latest version of the template | ||
- adding an OpenAPI3 specification |
4 changes: 3 additions & 1 deletion
4
source/middleman.html.md.erb → ...amend_project/middleman/index.html.md.erb
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
9 changes: 8 additions & 1 deletion
9
source/functionality/update_gem.md → ...mend_project/update_gem/index.html.md.erb
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
source/create_project/create_new_project/index.html.md.erb
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,51 @@ | ||
--- | ||
title: "Create a new documentation project" | ||
weight: 22 | ||
last_reviewed_on: 2019-10-03 | ||
review_in: 1 day | ||
--- | ||
|
||
# Create a new documentation project | ||
|
||
1. Open the command line interface. | ||
|
||
1. Navigate to your documents folder. | ||
|
||
1. Run the following in the command line: | ||
|
||
``` | ||
middleman init PROJECT_NAME -T alphagov/tech-docs-template | ||
``` | ||
where `PROJECT_NAME` is the name of your project. | ||
|
||
1. Answer the installation questions. | ||
|
||
1. Project creation is complete when you see `Bundle complete!`. | ||
|
||
## Configure your new documentation project | ||
|
||
### Enable collapsible navigation | ||
|
||
Add the following code to your project's `tech-docs.yml` file if necessary: | ||
|
||
``` | ||
# Enable collapsible navigation in the sidebar | ||
collapsible_nav: true | ||
``` | ||
|
||
### Enable search | ||
|
||
The search function is especially useful for multipage documentation. | ||
|
||
Add the following code to your project’s `tech-docs.yml` file if necessary: | ||
|
||
``` | ||
# Enable search | ||
enable_search: true | ||
``` | ||
|
||
## View your new documentation project | ||
|
||
Navigate to the created documentation repo folder. | ||
|
||
The folder will have multiple pre-populated files. You will only need to amend the `/source` folder and the `config/tech-docs.yml` file. |
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 @@ | ||
--- | ||
title: "Create a documentation project" | ||
weight: 20 | ||
last_reviewed_on: 2019-10-03 | ||
review_in: 1 day | ||
--- | ||
|
||
# Create a documentation project | ||
|
||
You can create a single page or multipage documentation project. |
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
Oops, something went wrong.