-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: cleanup code blocks in bullets
New to Kepler and was trying to follow the documentation to install Kepler for the first time. The https://sustainable-computing.io/installation/kepler/#deploy-the-prometheus-operator section has several issues. Primarily, some of the code blocks lead with `console` in the text, new lines are not honored, and the bulleted numbers don't increment. Fixes in this PR: * Added `pymdownx.superfences` to the `markdown_extensions:` section in `mkdocs.yml`. This fixed the newlines not honored in the indented code blocks and allowed the build to recognize the code block language identifier (`console`). * Added additional spaces to the code blocks in bulleted sections. This indents the code block to the same level as the text and allows the bulleted numbers to increment properly. * For code blocks, replaced `#` with a `$`. To me, `#` implies root access is required and and none of the documented commands require root access. I will change this globally in the docs if this change is acceptable. * Added `admonition` to the `markdown_extensions:` section in mkdocs.yml. When adding things like `Note:`, with `admonition`, is `!!! note` is used, it draws a box around the note. See https://squidfunk.github.io/mkdocs-material/reference/admonitions/. I can remove this, or update the docs globally depending on feedback. * Changed the default language to English. When building and running locally, it defaulted to Chinese. The problem is that only 3 of the pages are translated into Chinese so it looked like it was in English except for those 3 pages on the table of content. So took a while to figure out that the language for the whole website was set to Chinese and that there wasn't some other issue. Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
76 additions
and
66 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 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