Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the documentation style guide #1342

Merged
merged 4 commits into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/contributing/docs_style_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Documentation Style Guide

## Do's

- Submit documentation formatted in [Markdown](https://en.wikipedia.org/wiki/Markdown) format.
-- Please add Markdown headings to the content sections.
- Use a GitHub Pull Request to submit documentation.
- Use the "bold/emphasis" style in Markdown for UI elements that users will interact with. For example, a button label for a button that must be pressed should be made bold in Markdown.
- Use the "italics" style in Markdown for UI elements that have a label or title if you need to reference them in the documentation. For example, a title of a screen or page that will visit should be made italic in Markdown.
- Use `-` instead of `*` for bulleted lists.
- Upload images to the 'assets' folder and reference them from there.
-- For file name, use underscores between words and prefix all file names with the page name, e.g. context_display_hints.jpg for the image showing how to set display hints in the context menu.
- Use `!!! note` at the start of a paragraph to have it rendered as a note like this:

!!! note I am a helpful tip!

## Don'ts

- Do not leave any "trailing spaces" at the end of lines of content.
- Do not use "curly" quotes and apostrophes, use only "straight" quotes and apostrophes.
- Do not upload images that are excessively large in file size (remember, these docs are part of the software!)
14 changes: 0 additions & 14 deletions docs/technical-documentation/docs_style_guide.md

This file was deleted.

2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ pages:
- 'Flysystem': 'technical-documentation/flysystem.md'
- 'JWT Authentication': 'technical-documentation/jwt.md'
- 'Versioning Policy': 'technical-documentation/versioning.md'
- 'Documentation Style Guide': 'technical-documentation/docs_style_guide.md'
- 'How to Build Documentation': 'technical-documentation/docs-build.md'
- 'Testing Notes': 'technical-documentation/testing-notes.md'
- 'Adding back ?_format=jsonld': 'technical-documentation/adding_format_jsonld.md'
Expand All @@ -77,4 +76,5 @@ pages:
- 'Islandora 7': 'technical-documentation/migrate-7x.md'
- Contributing:
- 'How to contribute': 'contributing/CONTRIBUTING.md'
- 'Documentation Style Guide': 'contributing/docs_style_guide.md'
- 'Committers': 'contributing/committers.md'