Skip to content

Commit

Permalink
refactor(docs): add missing files to nav
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-cline committed Dec 11, 2023
1 parent f57131d commit 7269998
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/dev/api_interaction.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# API Interaction Transcript
# API Interaction
The following is a set of instructions on API calls needed to upload and validate
a feed, wait for the tasks' completion, and then browse its contents. All of the
endpoints needed to load and process a GTFS file are REST-based. The endpoints
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Adding translations for a new language
To add support for a new language, you need to perform the following steps:

1. Create a new language file in folder `i18`, e.g. by copying the `english.yml`.
1. Create a new language file in folder `i18n`, e.g. by copying the `english.yml` file.
2. In the newly created `<new language>.yml`, adapt the first two lines: `_id` should conform to the ISO 639 language code, `_name` to the localized language name.
3. In `lib/common/util/config.js`, add the import of the new language file at the mark `// Add additional language files here.` Mind to add an `// $FlowFixMe` hint before the new line to make the linter happy
4. Translate all messages in the `<new language>.yml` file. Note, that names surrounded by percent characters (`%`) denote parameters and must not be translated.
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ nav:
- Deployment: 'dev/deployment.md'
- Development: 'dev/development.md'
- Migration: 'dev/migration.md'
- Localization: 'dev/localization.md'
- API Interaction: 'dev/api_interaction.md'
- Appendices:
- GTFS Validation Warnings: 'user/appendix-gtfs-warnings.md'

0 comments on commit 7269998

Please sign in to comment.