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

Refactor "Developer Guide" into a single doc + include TOC into navigation #66

Closed
wants to merge 2 commits into from

Conversation

yarikoptic
Copy link
Member

Decided to include both commits in one PR since it better demonstrate difference in appearance for the first commit change of including TOC within navigation bar on the left (instead of adding it on the right). E.g. how it would look with current RF of the Guide and

webshots

image

instead of old one

image

and here is how it looks now (note that TOC is not available due to # section on top of the file):

image

But if so not desired (I thought it is nice since avoids wild runs of mouse from the left to right, and gives more width for text), I can just drop that commit from the PR.

2nd commit is more profound: I found that we had pretty much multiple points describing components with very overlapping amount of detail between https://www.dandiarchive.org/handbook/20_project_structure/ , https://www.dandiarchive.org/handbook/40_development/#overview and then subsections therein like https://www.dandiarchive.org/handbook/40_development/#technologies-used . So , because they all are placed under "Developer Guide" I just decided to keep it only in 40_development, make it the "Developer Guide" and there structure via sections, not just itemized list, into components. That gives more space to describe each component and provide subsections like we do for dandi-archive under which I placed now relevant (only) to it other sections (Deployment and Technologies).

If overall flow is ok, I would then (in this PR or follow up) would like to add a section on other common principles we would like to harmonize across components e.g. Pull Requests - who merges/closes comments/etc.

Instead of having a separate TOC on the right , it would just
expand already present navigation on the left, IMHO making
1. a better use of screen real estate, 2. no longer requiring
user to jump with mouse from left to right to navigate
Even withing development notes structure and details were spread out through
multiple sections. Moreover deployment section was entirely about the archive
but as independent section. IMHO all archive specific descriptions better
reside within archive section.

I took the other 20_project_structure and melded it with information within
40_development.  There might still be some references to dandi-api which
are deprecated and should be adjusted, I did not pay full attention to those
and just wanted to establish new structure while reducing duplication and
expanding coverage.
@yarikoptic yarikoptic requested review from waxlamp and satra July 27, 2022 19:17
@melster1010
Copy link
Contributor

I definitely prefer having all the TOC links all on the left side.

I had moved the schematic figure to docs/20_project_structure.md in my current PR, but this file is deleted as part of this PR. Need to sort that out.

Copy link
Member

@satra satra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs a fair bit of refactoring.

  • start with an overview of components (perhaps a version of this figure ) and their roles.
  • general developer guidelines
    • how to contribute etc.,. or pointers to CONTRIBUTING.md
    • the current section starts with helpdesk. do you want developers to use the helpdesk or directly go to project issues?
  • for each component/group of components provide developer guidelines of how to install/run etc.,.

@yarikoptic
Copy link
Member Author

@satra -- those are not just "a fair bit" but rather substantial further refactoring.
I personally would not have time for it ATM. So, we can leave it as is now (IMHO suboptimal since prompted this PR due to extensive duplication and TOC visualization) or accept this PR as a step forward and then address those issues you raised in separate follow up PRs.

@yarikoptic
Copy link
Member Author

we have an alternative RFing of development guide... i might bring TOC later separately

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

Successfully merging this pull request may close these issues.

4 participants