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

Documentation structure (ADR?) #129

Closed
noandrea opened this issue Jul 7, 2021 · 5 comments
Closed

Documentation structure (ADR?) #129

noandrea opened this issue Jul 7, 2021 · 5 comments
Assignees
Labels
Design Design tasks documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@noandrea
Copy link
Contributor

noandrea commented Jul 7, 2021

Collecting the feedback from the Design session, the following could be a starting point for the documentation

/README.md
	section: intro
	section: lightpaper
	link: /docs/modules.md
	link: /docs/architecture/README.md
	section: quickstart

/docs/modules.md
	link: /x/did/README.md
	link: ....
	
/x/did/README.md
	section: summary
	link: /x/did/docs/references.md
        link: /x/did/docs/howtos.md
        link: /x/did/docs/tutorials.md
        link: /x/did/docs/explanations.md

/x/did/docs/assets/

where

  • section indicates a content block within a markdown file
  • link indicates a link to another markdown file in the structure
  • /x/did/docs/assets/ contains svg or other stuff for documentation
@noandrea noandrea added Design Design tasks documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jul 7, 2021
@noandrea
Copy link
Contributor Author

noandrea commented Jul 7, 2021

@SenorMonito I'm not sure how to proceed with this one, if to discuss it first, make an ADR or directly make a PR.

At the moment I'm using the strucutre above to document the did/identifier module

@noandrea
Copy link
Contributor Author

noandrea commented Jul 7, 2021

for the module doc structure, cfr https://documentation.divio.com/

@minkyraccoon minkyraccoon changed the title Documentation strucutre (ADR?) Documentation structure (ADR?) Jul 7, 2021
@minkyraccoon
Copy link
Contributor

minkyraccoon commented Jul 7, 2021

@noandrea - the https://documentation.divio.com/ looks like a very nice way to do this and is providing the inspiration.

I'll raise an ADR for this as suggested, but I was going to propose this functional structure, which could represent the Sphinx-like representation with the relevant files underneath.

Introduction
    README.md

Tutorials
    docs/tutorials/get-started.md
    ...

How-To
     docs/how-to/quickstart.md
     ...

Reference
    docs/reference/glossary.md
    docs/reference/modules.md
            link: x/did/README.md
            link: x/vc/README.md

Explanation
    docs/explanation/README.md
    docs/explanation/articles
    docs/explanation/articles/CosmosCashRegs
    docs/explanation/articles/CosmosCashRegs/article.md
    docs/explanation/ADR
    docs/explanation/actors
    docs/explanation/actors/issuers.md
    docs/explanation/concepts
    docs/explanation/architecture

@minkyraccoon
Copy link
Contributor

With regard to the structure

/x/did/README.md
	section: summary
	link: /x/did/docs/references.md
        link: /x/did/docs/howtos.md
        link: /x/did/docs/tutorials.md
        link: /x/did/docs/explanations.md

I think a top-down approach for the individual files might be better for navigation.

docs/reference/did.md
docs/howtos/did.md
....

then the /x/did/README.md would have this structure:

section: summary
link: docs/references/did.md
link: docs/howtos/did.md
link: docs/tutorials/did.md
link: docs/explanations/architecture/did.md

@noandrea
Copy link
Contributor Author

noandrea commented Jul 7, 2021

the rationale behind the originally proposed structure is that the module documentation stays within the module folder while the project documentation stays at repo level.
The advantage of the approach is that if you want to "move" the module somewhere else you don't have to cherry pick the documentation and update all the references, but you can just extract the module folder. But I don't know if this is ever going to be an issue.

minkyraccoon added a commit that referenced this issue Jul 15, 2021
feat(ADR): draft version of doc structure ADR (#129)
minkyraccoon added a commit that referenced this issue Jul 15, 2021
* feat(ADR): Documentation Strategy (#129)

* Feat(ADR): Apply documentation suggestions from review of proposed ADR

Co-authored-by: Barrie Byron <[email protected]>

Co-authored-by: Barrie Byron <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Design tasks documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants