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

Use a different file than README.md for generating documentation #97

Open
leoweigand opened this issue Jul 1, 2015 · 2 comments
Open

Comments

@leoweigand
Copy link

First of all, thank you @jeromegn for this awesome tool / service.
I think it would make sense for DocumentUp to have an option to generate the docs from another file than README.md, like DOCS.md, as one may want to keep the README file small or to contain other information than the whole docs.

I imagine something like:

name: DocumentUp
file: DOCS.md

Could of course also be filepath or something similar.

Another question not worth opening a separate issue for:
is it possible to use .documentup.json instead of .documentup.yml? I saw this in https://github.com/wout/svg.js.

@leoweigand leoweigand changed the title Use other file than README.md for generating documentation Use a different file than README.md for generating documentation Jul 1, 2015
@jeromegn
Copy link
Owner

jeromegn commented Jul 6, 2015

Hey there,

Technically, you can already do something like that by using documentup.com/username/repo/path/to/markdown/file

However, it's not yet possible to change the root file being rendered. I will be possible though :) Def on the roadmap.

You can use a .documentup.json file but it's sort of deprecated. Is there a reason for this? Right now DocumentUp will work with 3 different file names for the configuration, but yaml is faster, simpler to write in my opinion. It's also less error prone.

@leoweigand
Copy link
Author

Alright that will be a good workaround until it is possible to change the root file.
No reason for json at all, yaml is fine. I was just curious.

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