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

DOCS: refactor developer docs #538

Merged
merged 13 commits into from
Jan 11, 2022
Merged

Conversation

choldgraf
Copy link
Collaborator

@choldgraf choldgraf commented Jan 7, 2022

This refactors and updates our developer documentation, with the following major changes:

  • Information is now correct and updated according to our latest practices (closes Contributor page needs updates after landing stb-related improvements #521)
  • Splits the contributing docs into a few pages, so it's not as cluttered (also creates a new subdirectory contribute/ and adds a redirect)
  • Creates a "getting started" page that has the minimal information needed to make edits etc
  • Creates a separate page for installing the dev environment manually, for more advanced users
  • Creates a more extensible "topic guides" page for little how-tos and tips
  • Converts the rST into MyST Markdown for this content
  • Cleans up some filesystem and configuration cruft to make it easier to edit the docs

@choldgraf choldgraf requested review from damianavila and jorisvandenbossche and removed request for damianavila January 7, 2022 00:33
noxfile.py Show resolved Hide resolved
noxfile.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@damianavila damianavila left a comment

Choose a reason for hiding this comment

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

LGTM after the CI is green!

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

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

This is a really nice improvement of the contributing docs, thanks a lot @choldgraf !

I did a read through and added some comments / questions.

docs/contribute/setup.md Outdated Show resolved Hide resolved
docs/contribute/setup.md Show resolved Hide resolved
docs/contribute/setup.md Outdated Show resolved Hide resolved
docs/contribute/index.md Outdated Show resolved Hide resolved
docs/contribute/topics.md Outdated Show resolved Hide resolved
docs/contribute/manual.md Outdated Show resolved Hide resolved
docs/conf.py Show resolved Hide resolved
noxfile.py Show resolved Hide resolved
@nox.session
def compile(session):
if _should_install(session):
session.install(".")
Copy link
Member

Choose a reason for hiding this comment

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

Is this line needed? Because wouldn't that actually already install stb and compile the assets in a pip build env for installing the package?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that we do need it, because this is what gives us the theme builder CLI, which is not bundle with it by default via install("."). Is that what you were asking?

choldgraf and others added 4 commits January 10, 2022 13:16
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
@choldgraf
Copy link
Collaborator Author

OK I believe I've addressed all of your suggestions and comments @jorisvandenbossche - I've "resolved" them via the github UI, let me know if I missed something!

docs/conf.py Outdated
@@ -107,6 +107,13 @@
},
}

html_sidebars = {
"contributing": [
Copy link
Member

Choose a reason for hiding this comment

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

The contributing top-level page/directory doesn't exist anymore, so this has no effect?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good point - I updated this in the latest commit

docs/conf.py Outdated Show resolved Hide resolved
@jorisvandenbossche jorisvandenbossche merged commit 5e6a822 into pydata:master Jan 11, 2022
@jorisvandenbossche
Copy link
Member

Thanks a lot @choldgraf !

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.

Contributor page needs updates after landing stb-related improvements
3 participants