Open cmrd-senya opened 7 years ago
Maybe the following can work: folder /docs
as a root for the documenation, and /docs/protocol
and /docs/api
as subfolders?
No. GitHub Pages is /docs
folder or /
folder ... nothing else.
If it was possible to tell jekyll to build site from a subfolder, then we could move it downwards to /docs/protocol
. But I didn't find the way to do that. I'll check if it is possible to move the api reference to a separate folder.
I'll check if it is possible to move the api reference to a separate folder.
You can set --output-dir
in .yardopts
. I hope www.rubydoc.info doesn't have a problem with that, because I have no control over that.
Currently
diaspora_federation
has two documentation sets in it: API reference documentation and protocol documentation. API reference documentation is generated withyardoc
and placed in/doc
folder. Protocol documentation is rendered viajekyll
and is placed under/docs
folder. The folder namesdoc
anddocs
make some confusion. I always forget which one is which and have tols
the folder to get it. Maybe we should changedoc
toapi_doc
orapi_reference
anddocs
toprotocol_doc
orprotocol_documentation
?