-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Docs, rst vs md #1691
Comments
@Lagicrus Last time I updated the documentation section, I did a bunch of changes and moved quite a few files to I am personally in favor of |
I am tempted to do a PR to move from one to the other, it was just mainly a question as to why we were using both in the first place. |
@Lagicrus I have been using Please feel free to open a PR to migrate the documents to a common format across the board. I will be more than happy to help you in anyway required. |
The heading format of rst (ASCII underlining) is retarded, but other than that the syntax seems quite usable (and in a few ways better than Markdown, I suppose). The problem is that there are a lot of subheadings in documents, and |
\documentclass{readme}
\newcommand{\stupidsubhead}[1]{{\Large #1 \vspace{2ex}}}
\begin{document}
\section*{This is what pain looks like}
\stupidsubhead{If only I knew better}
\end{document} I am okay with |
Argh. And the worst part it that LaTeX just won't die. Who designs a language where using |
That's interesting regarding |
@Lagicrus Absolutely. For someone starting on open-source contribution journey, We also have some inline code documentation where some of them are in |
I am fine with working on a PR to move the majority, if not all docs (docs/sanic) to MD.
You have me at a loss with that one |
Yes, that is correct. Rename the files and fix the syntax to make it |
Interesting roadblock, so far some files can easily be converted like the asyncio_python37 file or the cookies file. Just regular, "put text in here and solved". If I have missed a markdown equivalent of .. include:: ../docs.rst tell me but I am so far doubting it |
One can add symlinks to git, right? |
Unsure, to my understanding the include stuff within Currently, I am moving them all over to rst as it seems to be the solution, should be done by the end of the day. Question, do I put into the contributing.rst file, under the documentation header, the format I used for header layouts to keep the same format across all files? As with |
@Lagicrus I moved the changelog file that was initially in markdown format to I think for the time, we can move all the standalone The examples section of the document is another major one where everything in cross imported. @Tronic I tried There are options such as
If you have already started doing this, then let's stick to moving all of them over to |
@Lagicrus So long as the documentation page doesn't drastically change between the releases causing confusion, please feel free to change/restructure things. |
Yeh that makes perfect sense, I can definitely see the advantage of that
Yeh I will don't worry, thanks for the offer :) I got bored at night so I started working on this and I quickly just started working through it lol Had a weird bug with the table which I will either link later when I am back at my machine or when I do the PR to fix it |
Added a Draft PR #1698 regarding this @harshanarayana @Tronic :) |
Corrected changelog for docs move of MD to RST (#1691).
Why does some of the documentation for Sanic use .md and some use .rst? Would it not make more sense to have it all under one file extension?
The text was updated successfully, but these errors were encountered: