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

Re-organize documentation to match new structure #55

Merged
merged 21 commits into from
Mar 15, 2021
Merged

Conversation

yuvipanda
Copy link
Member

@yuvipanda yuvipanda commented Mar 7, 2021

  • Added docs on authentication methods we support
  • Split up 'users' docs into 3 separate page, to match
    different kinds of content
  • Make docs slightly more verbose in the service of
    completeness

Follows 2i2c-org/infrastructure#293
to try and make documentation more coherent.

closes #62

- Added docs on authentication methods we support
- Split up 'users' docs into 3 separate page, to match
  different kinds of content
- Make docs slightly more verbose in the service of
  completeness
@yuvipanda
Copy link
Member Author

yuvipanda commented Mar 7, 2021

Partial TODO:

  • admins/configuration/default-interface.md
  • admins/howto/distribute-with-nbgitpuller.md
  • admins/howto/provide-shared-datasets.md
  • admins/howto/download-user-data.md

Moved into howto style content. I left out the
bits about 'Last Activity' - it is mostly self-evident,
and I'm not sure I want to encourage instructors looking
at when students last logged-in!
Copy link
Member

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

Thanks for the improvements here @yuvipanda - in general I like the layout of the documentation and the extra content is very helpful. I made a few suggestions/comments/questions, mostly focused around cross-linking between sections and making the content in general easy to navigate. Happy to go through a few iterations with you here 👍

period of time (default 1h) are automatically stopped (via
[jupyterhub-idle-culler](https://github.com/jupyterhub/jupyterhub-idle-culler)).
This means your notebook server might be stopped for inactivity even if you have
a long running process in the notebook. This timeout can be configured.
Copy link
Member

Choose a reason for hiding this comment

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

We should link to the actual way to configure it, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, but that requires we add more docs in the pilot-hubs repo for SREs, which doesn't exist atm. I'll add a TODO here


2. [*GitHub*](https://github.com/). Extremely popular community of people creating, publishing and collaborating on code. Accounts are free, and many people already have them especially since the target community for most hubs are people who also write some kind of code.

3. [*ORCID*](https://orcid.org/). Everyone who has published a paper has one of these, and anyone else can easily sign up. Almost exclusively used by researchers.
Copy link
Member

Choose a reason for hiding this comment

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

We should tell people how they can choose one or the other, what is the process by which one is picked? Perhaps here we can just say "when we set up your hub, we'll ask you which type of authentication you prefer".


4. ???. We could probably support other authentication providers, depending on your specific needs and the provider's complexity. Please reach out to us if none of these 3 work.

## Authorization
Copy link
Member

Choose a reason for hiding this comment

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

I think we could have two sections: Authorizing Administrators, and Authorizing Users. Then we explain that administrators are generally authorized via configuration, while users are authorized via the admin panel.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've addressed this without splitting it into sections, how does it look?

Copy link
Member

Choose a reason for hiding this comment

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

I think it's fine, but could we add in "regular users" and "admin users" in bold rather than regular text? I think it's important for documentation to be glance-able. Most people will not read the whole page, they'll have a specific question in mind and they'll quickly glance the page for cues that the answer is there. So I think section headers, or bold text, is a way to give people a hint where a particular topic is covered. Does that make sense?

admin/howto/control-user-server.md Outdated Show resolved Hide resolved
admin/howto/control-user-server.md Outdated Show resolved Hide resolved

## To remove users

????
Copy link
Member

Choose a reason for hiding this comment

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

Do you plan on improving this in the current PR? If not then we should add a comment in the markdown like:

% TODO: document how to remove users

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

admin/howto/share-datasets.md Outdated Show resolved Hide resolved
admin/howto/share-datasets.md Outdated Show resolved Hide resolved
admin/howto/share-datasets.md Outdated Show resolved Hide resolved
index.md Outdated
admin/migrate
admin/content
```

```{toctree}
:caption: Administrator configuration guides
Copy link
Member

Choose a reason for hiding this comment

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

What is the relationship between the configuration guides and the how-to guides? They seem similar to me so trying to figure out why they have two different top-level sections

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good question. I was thinking of configuration guide as a list of all possible options, but that can probably be better written as a how-to guide as well. We can have a separate administrator's reference if need be. I'll try to rewrite them.

Copy link
Member Author

Choose a reason for hiding this comment

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

@choldgraf I think configuration options require 2i2c engineer support and how-to guides do not. I've clarified that with subheadings here.

Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu>
@choldgraf
Copy link
Member

@yuvipanda gimme a ping when you're ready for a new review! (or to merge)

@yuvipanda
Copy link
Member Author

@choldgraf Ready for review again! I couldn't figure out how to cross-link pages though :(

#54 has all
that information, and is a better fit for a 'howto' section.
@yuvipanda
Copy link
Member Author

I've moved the bit about downloading your own data to its own file, and the rest of the 'migrate' documentation should be superseeded by #54. I'm still not sure why links don't work, but otherwise this is good to go!

@choldgraf
Copy link
Member

Oops my bad @yuvipanda - I made some edits and structure improvements, and then I ran git push origin new-docs-structure. But then I realized that my origin was this repository, and that you were also doing work on this repository, and so I ended up just directly pushing to your branch 🤦. Lemme know if the changes look OK, or if you'd like me to re-work it into a separate PR.

Either way, if you're +1 on the changes then I'm also +1 to merge

@choldgraf choldgraf merged commit 4fc733f into main Mar 15, 2021
@choldgraf choldgraf deleted the new-docs-structure branch March 15, 2021 19:53
@choldgraf
Copy link
Member

OK merging this in so that it doesn't become out-of-date when new docs are updated! Thanks @yuvipanda for this great re-organization, and helping to lay a foundation for more docs to come!

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

Successfully merging this pull request may close these issues.

Shared Drive and Shared folder distinction
2 participants