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: use jupyterhub_sphinx_theme, add make devenv/linkcheck #8

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Jan 10, 2023

We have discussed use of a jupyterhub_sphinx_theme in jupyterhub/team-compass#524 and @choldgraf has created it. I suggest we start using it!

In this PR I adjust conf.py to look like other jupyterhub projects I've updated recently, linking out to relevant configuration references and omitting some configuration not needed etc.

@choldgraf
Copy link
Member

should we just move that template repo to the jupyterhub/ org? That way we aren't depending on a thing attached to my personal account?

@GeorgianaElena
Copy link
Member

I am +1 to move that under jupyterhub too 👍🏼

@consideRatio
Copy link
Member Author

consideRatio commented Jan 10, 2023

@choldgraf yes go for it! I think there is sufficient agreement that this is a good idea at this point with Georgiana's 👍 and others input in jupyterhub/team-compass#524

@consideRatio
Copy link
Member Author

Draft state

@consideRatio consideRatio marked this pull request as ready for review June 17, 2023 18:46
@consideRatio
Copy link
Member Author

The jupyterhub-sphinx-theme is in the jupyterhub org, and the opengraph issues are resolved. There is an issue with the favicon, but that would be resolved by jupyterhub/jupyterhub-sphinx-theme#11 independent of this PR.

@consideRatio consideRatio added the documentation Improvements or additions to documentation label Jun 17, 2023
Comment on lines +36 to +40
linkcheck:
$(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)/linkcheck" $(SPHINXOPTS)
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
Copy link
Member

Choose a reason for hiding this comment

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

Without this, if you call make linkcheck, it still works, because it matches the first generic target:

@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)

And it appears to be doing the same thing, i.e. outputs in $(BUILDDIR)/linkcheck/output.txt. Also, the jupyterhub docs Makefile don't have it:

https://github.com/jupyterhub/jupyterhub/blob/161cdcd7e711845d2c4c157c150f251261a5f925/docs/Makefile#L20-L29

Do we wish to have it here for the extra info echo message? What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry I ended up merging before reading this comment, nice catch! Opened #23 about this

Copy link
Member

@GeorgianaElena GeorgianaElena left a comment

Choose a reason for hiding this comment

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

I had a small comment about make linkcheck, but not a blocker.
This looks amazing! Thanks for updating these @consideRatio 🎉

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

Successfully merging this pull request may close these issues.

Provide linkcheck and devenv commands to Makefile and make.bat
3 participants