55 Commits

Author SHA1 Message Date
Jeremy Tuloup
99af31ec21
Update pre-commit hooks (#7561)
* chore: update pre-commit hooks

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0)
- [github.com/python-jsonschema/check-jsonschema: 0.27.4 → 0.30.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.4...0.30.0)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.14.1)
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.8.6)
- [github.com/scientific-python/cookie: 2024.01.24 → 2024.08.19](https://github.com/scientific-python/cookie/compare/2024.01.24...2024.08.19)

* lint

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* more ruff fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 10:33:13 +01:00
Eric Gentry
d9119b8cd5
Update chat links to Zulip. (#7539)
* Update chat links to Zulip.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix icon path.

* Move zulip icon/path.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-20 14:36:38 +01:00
Greg Mooney
c93015d1b6
Rename some header links to fit better (#7508)
* Rename some header links to fit better

* Change header links before dropdown to 5
2024-10-31 12:23:27 +01:00
Steven Silvester
0a08ba3f96
Update ruff config (#7190)
* Update ruff config

* cleanup
2023-12-19 15:17:07 +01:00
Jeremy Tuloup
ea1a1538ef
Set navigation_with_keys to False (#7129) 2023-10-27 09:06:47 +02:00
Michał Krassowski
b397a3b834
Improve docs setup (SVG logos, repo links) (#7074)
* Add SVG logo with dark mode, GitHub/Forum/Chat buttons

* Fix CSS syntax higlight

* Lint

* Add GitHub config
2023-09-26 07:57:51 +02:00
Ashwin V. Mohanan
6e60c72ead
Use correct canonical URL while building docs (#6829)
As noted in https://github.com/readthedocs/readthedocs.org/pull/10224 with the current configuration the canonical URL is wrong with different sphinx builds. For instance the "latest" docs point to "stable". This leads to apps like Mastodon to generate previews to pages which don't exist since they rely on

    <link rel="canonical" href="https://jupyter-notebook.readthedocs.io/en/stable/notebook_7_features.html" />

This should fix that.
2023-04-05 13:54:03 +02:00
Steven Silvester
840b4256da
Add spelling and docstring enforcement (#6669)
* add spelling and docstring enforcement

* remove markdown format

* restore local hooks

* add docs change

* spelling
2022-12-23 21:55:19 +01:00
Steven Silvester
22475a39ab
Adopt ruff and typing (#6658)
* adopt ruff and typing

* reinstate local hooks

* fix classifier

* fix lint

* limit ruff target

* fix doc8 test

* add integrity check

* lint

* lint

* only use mdformat for changelog

* prettier
2022-12-11 17:07:54 +01:00
Jeremy Tuloup
f38c6d6888 Explicit set language to en 2022-06-09 17:41:23 +02:00
Steven Silvester
64eed5caa4
Add pytest and handle warnings (#6338) 2022-04-01 15:08:30 -05:00
Steven Silvester
0390be2ce8
Add flake8 and git-blame-ignore-revs (#6337) 2022-04-01 11:34:37 -05:00
Steven Silvester
a7717d90f1
Run Autoformatters (#6335) 2022-04-01 11:02:12 -05:00
Steven Silvester
ff15898e4e replace missing files 2022-03-09 07:42:21 -06:00
Steven Silvester
d42758a2d9 more cleanup 2022-03-09 07:34:52 -06:00
Steven Silvester
46959df2c5 make docs build strict 2022-03-09 07:00:26 -06:00
Jeremy Tuloup
f487ec8c7d Fix docs sections 2022-03-04 16:14:23 +01:00
Jeremy Tuloup
be0726fe8e Update html_theme in conf.py 2022-03-04 14:50:20 +01:00
Jeremy Tuloup
a5f712d9b1 Remove jupyter_server import in conf.py 2022-03-02 18:01:54 +01:00
Jeremy Tuloup
cde6ad68b2 Fix docs conf.py 2022-03-02 14:46:38 +01:00
Jeremy Tuloup
85ddb6f5f9 Remove autogen_config 2022-03-02 14:35:17 +01:00
Matthias Geier
10b835c68a DOC: remove unnecessary (and wrong) source_suffix setting 2021-10-11 22:40:28 +02:00
Afshin Taylor Darian
20f7e9e697
Modernize Changelog (#6008) 2021-03-16 07:55:48 -05:00
Sai Rahul Poruri
9dd2af27de CLN : Remove utf8 coding cookies
On Python 3, the default source file encoding for Python files is utf-8
and because Python 2 is no longer supported, the utf8 coding cookies can
be removed
2020-10-10 15:30:06 +01:00
Thomas Kluyver
d77a1e7ae8 Use separately packaged sphinxcontrib_github_alt 2019-04-01 14:24:14 +01:00
Vidar Tonaas Fauske
f6de61d34e Fix some broken links and permanent redirects 2017-09-01 13:09:51 +02:00
Miro Hrončok
6e1ac76423 Have _ defined in notebook.transutils
Import it in conf.py (docs)

Fixes https://github.com/jupyter/notebook/issues/2798
2017-08-24 11:58:38 +02:00
Thomas Kluyver
477332696b Work on changelog for 5.0
We seem to have missed the extension that defines Github issue & PR
links until now.
2017-02-07 15:37:09 +00:00
Thomas Kluyver
7aa778166e Update Intersphinx URL for IPython 2017-01-31 15:36:00 +00:00
Adam Chainz
a947025308 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-10-09 21:56:18 +01:00
Carol Willing
cff713abe1 Remove html_context from sphinx conf 2016-04-05 19:32:56 -07:00
Matthias Geier
b3788c283f Add custom.css 2016-03-26 14:34:12 +01:00
Matthias Geier
3cdc082ab2 Ignore .ipynb_checkpoints/ when building docs 2016-03-26 14:28:58 +01:00
Carol Willing
c20212772c Update makefile and build configuration
Add space to avoid sphinx build error
2016-03-23 19:20:54 -07:00
Carol Willing
fbb0829bbc Remove rst versions of nb 2016-03-22 18:28:43 -07:00
Carol Willing
b4dbf5f5c2 Add a make spelling option for doc builds 2016-02-10 13:20:31 -08:00
Min RK
eb5610c77b don't install on RTD
add repo to sys.path instead
2016-01-29 21:20:58 +01:00
Min RK
d1d81f8015 get package version for docs
so we don't need to manually update version strings
2015-12-22 14:05:25 +01:00
Carol Willing
35f7e52162 Update for 4.1.0rc1 and add FAQ 2015-12-22 04:34:50 -08:00
Carol Willing
004a96298e Add navigation to Jupyter Installation docs 2015-09-26 08:10:31 -07:00
Carol Willing
808776f4a4 Add Jupyter to docs requirements 2015-09-24 11:47:19 -07:00
Carol Willing
453f2ce30b Update rtd configs 2015-09-23 13:56:51 -07:00
Carol Willing
cb9961a030 Add comment for future devs 2015-09-20 20:55:21 -07:00
Carol Willing
65224302de Revert html_static_path setting 2015-09-20 20:33:42 -07:00
Carol Willing
67740f8014 Fix small docs errors and add hidden index for clean doc builds 2015-09-16 10:45:30 -07:00
Thomas Kluyver
89c4defaf2 Miscellaneous doc updates and warning-squashing 2015-08-06 10:51:51 -07:00
Thomas Kluyver
884ef1dc28 Fix up some issues with the Mathjax examples in the docs
Fix the display of code samples in the Mathjax example doc, and squash
some warnings when building the docs.

This still doesn't make most of the examples display, because pandoc
makes the \begin{} & \end{} block into a raw latex block, which isn't
rendered in the HTML output. Not sure what to do about that.
2015-07-27 14:03:43 -07:00
Scott Sanderson
9e13c3b0cd DOC: Initial work on Contents API docs. 2015-07-25 19:10:26 -04:00
Jonathan Frederic
07815b4ffc Remove wonky custom theme 2015-06-04 16:19:23 -07:00
Jonathan Frederic
a18acf52c8 @takluyver 's suggested changes. 2015-06-04 09:35:02 -07:00