-
Notifications
You must be signed in to change notification settings - Fork 21
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
Documentation #107
Comments
@matthew-dews wrote in pull request #106:
So commit the documentation source code in the same repo Also, consider generating the wiki automatically from documentation source code. |
@TylerReedMC asked in pull request #106:
See the top of this issue.
Yes, very much so. We will have succeeded when a non-technical person that we do not know |
@PedroSFreitas wrote in pull request #106:
and later he wrote:
That is what the dev branch and pull requests are for. |
@ozarchie turned me onto https://pages.github.com/ recently. We should take a look at it. |
I just added to the first comment of this issue, Unfortunately, github does send notifications for edits to old comments, |
I agree with @james-prior on using ReStructred Text and Sphinx. I think https://readthedocs.org/ is a good fit because you don't have to worry about styling or hosting. Readthedocs has versioning which will separate release documentation and development documentation. I lean away from Github Pages because Markdown formatting may be limiting. In a previous project using Github Pages I found that I spent too much time customizing the theme I started with. I also don't like that Jekyll/Github Pages stores both content (Markdown files) and styling (javascript, CSS, HTML) in the same directory. I'd rather have everything styling/Jekyll related in one folder and leave the Markdown material easily accessible to developers rather than mixed in. This may not be possible to do with Jekyll or Github Pages because they rewrite config options. I will have a chunk of free time tomorrow and could put together some sort of demo of readthedocs. |
@matthew-dews wrote about reStructuredText, sphinx, and readthedocs.org:
Fantastic! I look forward to it. |
@PedroSFreitas I am consolidating documentation as I work on this and I noticed that on the wiki the the Smart Modules are refereed to by two names: Smart Modules and HapiZ. Is there one I should stick with for clarity? Edit: I am also seeing the use of the term HAPImodule and HAPInode |
Is this issue closed? As there has been a merge request |
I believe it's safe to close this Issue for now, but the idea of the Documentation proposed by james-prior should be take in consideration; maybe not all, but part of it. Information to possible users is never too much, in my humble opinion. |
More and good documentation is always something useful. Would break it down into smaller issues |
We will have succeeded when a non-technical person that we do not know is able
to successfully use one of our arduino based things, just by following our
instructions on github, without any coaching or hand-holding by us.
We need instructions to install, compile, download, and run the Arduino
software. That would include:
(ok to refer to specific Arduino URL for this)
(I sure hope this can be automated).
cover.
(might be able to refer to Arduino dox for some of this
augmented by our own prose and/or programs)
The above should include prose saying what success and failure look like.
I have installed and run stuff on other projects,
where I had no idea if I had succeeded or failed.
As a newbie, I was completely clueless
about what was very obvious to the experts.
The above is just a rough outline.
It would be good to have one complete example based on a
minimum viable product.
Some things, such as downloading and installing the Arduino IDE,
can be done well by referring to a specific URL.
Some things have to be done manually,
and should be explained in prose,
sometimes augmented with pictures.
Things that can be automated, should be.
For example the prose of
INSTALL.rst
has a command
./INSTALL.sh,
to execute by manually typing (or copying and pasting).
The executed command, automates parts of the installation.
The docs do not need to be fancy.
Plain text dox that are comprehensive and accurate suffice.
We should be able to generate other formats, such as HTML, PDFs, and man pages,
from the source code for the documentation.
Sphinx
does this well with
reStructuredText.
Documentation source code in reStructuredText is readable as is
and the other formats can be generated from the doc source code.
By the way, this discussion started on pull request #106
and was moved here because the issue of documentation
is so much more than just the little code change in pull request #106.
The text was updated successfully, but these errors were encountered: