Skip to content
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

Confusion with documentation folder names #66

Open
cmrd-senya opened this issue May 28, 2017 · 5 comments
Open

Confusion with documentation folder names #66

cmrd-senya opened this issue May 28, 2017 · 5 comments

Comments

@cmrd-senya
Copy link
Member

cmrd-senya commented May 28, 2017

Currently diaspora_federation has two documentation sets in it: API reference documentation and protocol documentation. API reference documentation is generated with yardoc and placed in /doc folder. Protocol documentation is rendered via jekyll and is placed under /docs folder. The folder names doc and docs make some confusion. I always forget which one is which and have to ls the folder to get it. Maybe we should change doc to api_doc or api_reference and docs to protocol_doc or protocol_documentation?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@SuperTux88
Copy link
Member

The /docs folder is fix, because GitHub pages can only use this folder, see here.

But feel free to change the output folder for yardoc. This documentation is published here and I hope they don't depend on our .yardopts file, so I think we can change it there.

@cmrd-senya
Copy link
Member Author

Maybe the following can work: folder /docs as a root for the documenation, and /docs/protocol and /docs/api as subfolders?

@SuperTux88
Copy link
Member

No. GitHub Pages is /docs folder or / folder ... nothing else.

spectacle b19107

@cmrd-senya
Copy link
Member Author

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.

@SuperTux88
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants