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

doc/adr vs. docs/adr #39

Closed
koppor opened this issue Dec 7, 2017 · 4 comments
Closed

doc/adr vs. docs/adr #39

koppor opened this issue Dec 7, 2017 · 4 comments

Comments

@koppor
Copy link
Contributor

koppor commented Dec 7, 2017

GitHub pages allows for publishing websites on github. As source, they have following sources

Note the s in the folder name.

In the (unrelated) project Eclipse Winery, the homepage is rendered from docs/. The ADRs are placed into the folder docs/adr. As a consequence, the ADRs are browsable in the homepage: http://eclipse.github.io/winery/adr/

In case the ADRs resided in doc/adr, there would be two folders, docs/ for the whole homepage and doc/adr for all the ADRs.

Therefore, I propose to rename the folder doc to docs. I would submit a pull request, but seeing a nice test coverage (refs #30 (comment)), I would only start if this is a consensus to rename the directory.

@retnuh
Copy link

retnuh commented Dec 7, 2017

You can use whatever directory you like, when you call adr init command. I think that perhaps the README could be a bit clearer and more consistent about this, however.

@koppor
Copy link
Contributor Author

koppor commented Dec 7, 2017

I would, however, change the default path to docs/adr.

This hits this repo itself: https://github.com/npryce/adr-tools/tree/master/doc/adr would be renamed to docs/adr.

Additionally, the README and code:

@npryce
Copy link
Owner

npryce commented Dec 22, 2017

This would be a backwards incompatible change. Every current user would have to configure their project to point at their existing directory.

@koppor
Copy link
Contributor Author

koppor commented Dec 22, 2017

@npryce I read that answer that there will be no 3.0.0 version supporting this directly.

I will try to propose a patch checking the default directory for doc/adr and if that does not exist, that it checks for docs/adr.

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

3 participants