ModdingDocs icon indicating copy to clipboard operation
ModdingDocs copied to clipboard

Rst help cheatsheet

Open SenorGeese opened this issue 3 years ago • 10 comments

I was starting to forget rst syntax and tricks so I made this, figured if i'm going to make this. Might as well make it public.

SenorGeese avatar Oct 26 '22 07:10 SenorGeese

This is great, but i would maybe prefer it in a seperate document. if you could move that over, i'll merge.

laundmo avatar Nov 03 '22 23:11 laundmo

Alright, will do.

My TODO (because i forgor too much):

  • Clean up the RST TESTING DANGER
  • Move to separate page
  • Fix Header 1 appearing on ToC
  • Add Links, Hyperlinks, Relative Links
  • Add References (the thing that makes making tables much better)

SenorGeese avatar Nov 04 '22 00:11 SenorGeese

Because I'm procrastinating from doing my C++ classwork. I did a commit today smh. Anyways,

  • Cleaned up Danger Zone.
  • Moved to separate page
  • Fixed header problem

TODO

  • Links
  • References
  • Tables
  • maybe Directives (just to make reading other docs easier)

SenorGeese avatar Nov 04 '22 02:11 SenorGeese

Having done a proper read through this, i really like how many things are in here. theres 2 concerns i have:

  • a lot of the more complex features don't have a codeblock showing their usage, it would be neat to have code blocks for the full usage of some more elements.
  • i don't thing the conversational style fits with most of the docs - i would much prefer a more direct style. "I prefer" etc can be replaced with "a recommended style" or similar.

i would prefer to get this merged soon, since I want to start work on #100 which will move around almost all files

laundmo avatar Nov 05 '22 01:11 laundmo

  • Which features don't have code blocks? Only feature missing a code block (or plain text) are the tables. Which are unfinished/not done.
  • Hmm. I always thought "I prefer" was weak and says without confidence, if you prefer it though. Sure, I'll make those changes. Okay. I'll try getting this to a mergeable state.

SenorGeese avatar Nov 05 '22 03:11 SenorGeese

Found these useful, saving them here. toctree little hints

  • https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html#include-other-rst-files-with-the-toctree-directive
  • https://devguide.python.org/documentation/markup/

for tables? and generally new and cool

  • https://sublime-and-sphinx-guide.readthedocs.io/en/latest/tables.html

another new demo doc

  • https://sphinx-rtd-theme.readthedocs.io/en/stable/demo/demo.html

Might not work with our theme. So ask Gecko or Laundro for our theme name. but, still very cool stuff

  • https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html

okay this one is actually really cool towards the end

  • https://docs.anaconda.com/restructuredtext/detailed/

SenorGeese avatar Nov 05 '22 04:11 SenorGeese

i'm mostly fine with merging this soon, but who owns the copyright to the cat picture?

laundmo avatar Jan 31 '23 22:01 laundmo

Not sure. I just googled and found it. I could replace it with a paint.exe drawing, unless you have a better recommendation.

SenorGeese avatar Feb 03 '23 21:02 SenorGeese

Replaced the cat image with my own drawing.

SenorGeese avatar Feb 03 '23 22:02 SenorGeese

bump

GeckoEidechse avatar Jan 23 '24 14:01 GeckoEidechse

With the move to markdown based docs, this is no longer necessary.

GeckoEidechse avatar Sep 19 '24 20:09 GeckoEidechse