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
Split docs out of main repo and use ReadTheDocs.org #353
Comments
Note that this means the the |
Some other benefits:
|
Thank you. It seems that you know well in this area. Could you tell me how our workflow for coding and writing documents changes? Consdier I add an option to ctags. I also update docs/*.rst and make the changes |
The documentation would live in a separate repo, so that wouldn't be possible anymore. The ctags repo would be code only, and the docs repo would be documentation only. I'd be interested in maintaining the documentation, so if you wanted to just put some bullet points in your PR and @ mention me, I can take that info and make sure it gets into the docs. |
Thank you for the offering. However, I cannot image how we work together. Look at docs/.rst. The most of all contents are for developers. So I cannot image well that someone who doesn't touch the code of ctags writes/updates documents in docs/.rst. What kind of documents do you image? On my side, I have some things I would like you to do about documentation: updating ctags.1. docs/*.rst are for us, developers. ctags.1 is for users. e.g. I introduced some options to ctags. I wrote it to docs/*.rst. I didn't write it to ctags.1.
ctags.1. is very related to making a release. As I wrote I don't have much interests about making a release because for making a release we have to update ctags.1. And updating ctags.1 requires reviewing features I randomly added. Which kind of tasks do you like: adding a new feature or reviewing added features? I have many things I want you to know. But it is difficult to write down at once.
|
(#365, I reorganized docs/*.rst.) |
It seems that I was wrong. |
Hi guys, It has been a while... Life sometimes takes a lot more time than expected. But on the subject: I recently converted the documentation of my NppTags plugin from DocBook to reStructuredText (far from perfect yet) and put them up on http://npptags.readthedocs.org There is no need to split the sources and the docs. It is all in one repo. All it takes is to make sure the docs can be properly generated used Python Sphinx. If we put a proper Maybe we should convert the ctags.1 to a rst file as well and let Sphinx generate the ctags.1 for us. It would make keeping the man page up to date much easier. Writing But first I will try this week to convert my |
rst is pretty painful, IMO. I'd happily convert things to Markdown, which is much more widespread, especially on Github. +1 to generating ctags.1 from a better format. |
According to RTD co-founder Eric Holscher Markdown is more of HTML replacement and RST is a semantic language. For instance, It allows for proper references in docs. Very interesting talk by him. IMHO 30 minutes well spend. And a handy cheatsheet. |
Last night, I started reorganizing the docs and converting them to Markdown. We really don't need all the features the RST provides. We get a lot out of switching to markdown, too. The process for working on the docs locally is really straightforward (1. install mkdocs - The biggest thing, though, is that Markdown is simple enough that you can't really do anything complicated. Given that docs are the place where people are least likely to contribute, it should be as simple as possible. Markdown files are simple enough to understand, and RTD adds a nice layer over the top to help navigate them (and references on RTD are very straightforward - I've got an example already done). I'm willing to put in the effort to reorganize the docs into a nice structure and get things up and running on RTD, but I don't want to do it in RST because almost everything else I do is in Markdown (Slack, Github, Blog posts for Jekyll, just to name a few). As I said before, I'm even willing to document new features and such that are added through PRs if you just @ me when things need updated. I've seen the talk. I just don't agree with it :) |
I really think that rst is better for docs. So let's agree to disagree on md vs rst. ;) Very curious what format @masatake wants the docs to be in. He writes most of the code and the docs. His opinion matters! We both have a PR ready that allows us to put the docs on RTD. |
@ffes That's fair :) I've said this a few times before, but just want to have it out here separate from my longer comment above: I am willing to maintain all of the existing documentation + write new docs when needed so that you guys can focus on writing code :) |
FYI, here's what I've been working on so far: http://ctags.readthedocs.org/en/docs/ It's the |
Guys, thank you very much. I'm very proud of working with sincere hackers for the same goal. Can I ask you to continue using rst format? |
Good to have the ctags project name of RTD! I see you have taken another approach then I have done so far. I just made sure the current "hacking guide" can be shown on RTD. Didn't do any of the other stuff yet. |
Yeah, my larger goal is to reorganize everything so that it's ready for public consumption when we release 1.0.0. The developer docs are nice, but we need user docs too, especially if we're going to generate ctags.1 from rst. @ffes Can you open a PR with your changes? |
You are absolutely right that we need user documentation as well. That is very important! But my first goal was to get the "hacking docs" we have right now on RTD. They need to be reorganized to integrate the hacking doc and the user doc. With the conversion of FYI, I am working on converting |
@ffes I can do the man page conversion if that would help. Getting the docs structure in place is more important right now. FYI, varnish/hitch@d949327 might be a good starting point for an automated RST->groff conversion. |
Following 3 docs are the most important.
Consider all docs/.rst is just information source for making about 3 documents.
|
@cweagans Any progress on setting up RTD, so we can close this one? |
@ffes http://docs.ctags.io :) I don't have access to set up a webhook in this repository, though. Can you do that? The URL to POST to is |
I added the webhook "Service" for ReadtheDocs. At this moment the hook has not been triggered yet. I will close this issue when it appears to work as expected. All we need to do now is restructure and improve those docs ;-) |
@ffes, I would like to see your ctags.rst.1.in. |
The WIP version of November 2015 is here https://dl.dropboxusercontent.com/u/25917447/ctags.1.rst I need to updated it with the current ctags.1.in. That appears to be only one commit. |
@ffes, thank you very much. I would like to take over your work. I will integrate your ctags.1.rst to the source tree. |
@masatake That's fine with me. Note that the file is WIP. Some changes from the the current master need to be merged in and I am not sure about the end result of the man page. It probably needs some tweaking as well. It was the first (and so far only) time I have been using rst to create a man page. |
@ffes. I see. When merging ctags.1.rst, I would like you to review its "commit log". |
Thank you guys. |
There's a few benefits here:
I'll take on doing the move, but I wanted to run it by everyone else first.
The text was updated successfully, but these errors were encountered: