Formatting for Sphinx¶
This text will not appear bold even without indentation because it is directly following the main header. This is used for the main description of all that is to follow.
Subsection about text¶
- This text will appear in bold unless you indent it. this operates as a form of header
Indented paragraphs will appear as normal, unbolded text unless a markup has been applied
You can also markup things such as italics, bold face, and
codeinline in paragraphs, but you can’t nest those, start or end them with a space, so be careful.
dot dot markup type colon colon¶
Attention
indent the text so that it appears in the box
Caution
indent the text so that it appears in the box
Danger
indent the text so that it appears in the box
Error
indent the text so that it appears in the box
Hint
indent the text so that it appears in the box
Important
indent the text so that it appears in the box
Note
indent the text so that it appears in the box
Tip
indent the text so that it appears in the box
Warning
indent the text so that it appears in the box
Lists¶
hey take a look at this bulleted list * bulleted lists use your * indentations to decide
- what level the information
- is on
you can go back to the parent list * if you need to
or you can go * deeper
and deeper * how
low * can
- you * go
- how about this numbered list
- you can make numbered lists
- manually
- or this one
- or you can make them
- automatically
Links, Images, Code Samples, Tables¶
- Links
so I can put this link to robotgeek in the middle of a bunch of text, or wherever really it’s simple.
or if you want to reference a list of links, you can do that shit too, check this shit out.
maybe you want to open a link in a new tab.
- Images
You’re just gonna have to get a load of this:
You can point directly at the image easy peasy
Code Samples
Apparently this doesn’t work very well, but to show a whole block of code, you just put colon colon after this and indent the lines of the code one more level to follow
- ::
#define arsehouse 0; #define hamshack 1;
setup() {
arsehouse = LOW ; hamshack = HIGH ;}
loop() {
//some nonsense involving a hamshack and an arsehouse, I suppose;}
just drop back a level to return to your regularly scheduled text. maybe we should just link to the github for code like we usually do.
there be comments hidden above this line
- Tables
You can just straight up draw the tables. There’s a couple ways to do it.
Header row, column 1 (header rows optional) Header 2 Header 3 Header 4 body row 1, column 1 column 2 column 3 column 4 body row 2 ... ... andA B A and B False False False True False False False True False True True True
Raw Embeds¶
Raw is a stop-gap for anything not natively supported by the sphinx compiler. We shouldn’t use this super often but we’re totally going to.
Embed file (put a broken embed file before embedding a page to prevent tree stacking)
Embed with Script (GitHub Code [GIST] ONLY WORKS FOR SOME SCRIPTS )
Embed entire Page (Fusion360)
Embed entire Page (SketchFab)
Embed entire Page (Youtube Video)