Editing this site¶
This page contains information on editing/making changes to this website.
Material for MkDocs¶
This site is written in Markdown and is generated using Material for MkDocs Insiders. The source Markdown is stored in the about_docs Git repo.
Icons¶
Reference for all available Material for MkDocs icons: Icons, Emojis
Commonly-used icons for links¶
:octicons-arrow-right-16:
- used for links within the wiki
:octicons-tab-external-16:
- used for links outside the wiki, but within StarCat Systems
:octicons-link-external-16:
- used for external links to sites not controlled by StarCat Systems
:material-book-lock:
- used for links to the StarCat Systems internal handbook
Coloring icons¶
You can add a color to an icon by adding the CSS color after the icon, like this:
:fontawesome-solid-dragon:{ .bug-pink }
Currently, the available configured colors are based off the built-in admonition colors and icons, as follows:
:fontawesome-regular-note-sticky:{ .note-blue }
:octicons-info-16:{ .info-blue }
:octicons-flame-16:{ .tip-teal }
:octicons-check-16:{ .success-green }
:octicons-question-16:{ .question-green }
:octicons-alert-16:{ .warning-yellow }
:octicons-x-circle-16:{ .failure-red }
:octicons-zap-16:{ .danger-red }
:octicons-bug-16:{ .bug-pink }
:octicons-beaker-16:{ .example-purple }
:octicons-quote-16:{ .quote-grey }
Want to know how these colors work? Check out the CSS in the source.
Admonitions¶
Reference for using Admonitions: Admonitions
Common Admonition Usage¶
Here are some common admonitions, when you might use them, and quick code snippets that you can paste in.
Note
Highlights information that users should take into account, even when skimming.
Tip
Helpful advice for doing things better or more easily.
Warning
Advises about risks or negative outcomes of certain actions.
Danger
Urgent info that needs immediate user attention to avoid problems.
Bug
Information about a known bug in a current version. Whenever possible, provide a link to the issue report. Place a link back to the page with this admonition, in the issue report so that the admonition can be removed when the bug is closed.
Custom¶
We've modified a couple of the standard admonitions to mean something a little different on this site.
Work in Progress¶
For pages that aren't yet complete, and need revisions (that we know are going to be revised sooner/more frequently than a typical page.)
Typically, we will put this at the bottom of the page content, with a dividing line between any page content and this admonition.
Example page with this Work in Progress admonition: Example WIP Admonition
Syntax
Copy and paste at the bottom of page content:
---
!!! example "Work in Progress"
This page is not complete, and is subject to change.
Want to help with this page? Please see [:octicons-arrow-right-16: Editing this site](https://about.starcat.systems/editing/) and the [:simple-forgejo: Git repo](https://git.starcat.systems/starcatsys/about_docs) for this site.
Placeholder Page¶
For pages that are newly created and have no (or very little) content on the page itself. Also used for index.md
pages in directories that have other contents, but no content on the directory index.
Example page with the Placeholder Page admonition: Example Placeholder Page Admonition
Syntax
Copy and paste at the bottom of page content:
Tip
Typically, any page that is marked as a Placeholder Page should also be marked with the Work in Progress admonition because they are, by their nature, incomplete.
Example page with the Placeholder and WIP admonitions: Example Placeholder and WIP Admonitions
Source code that you can quickly copy from when making an index or placeholder page is located here.
Work in Progress
This page is not complete, and is subject to change.
Want to help with this page? Please see Editing this site and the Git repo for this site.