Skip to content

Commit

Permalink
Update dev docs + release note
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Jun 28, 2021
1 parent dda22f3 commit deb2d91
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docs/dev/documentation.rst
Expand Up @@ -15,6 +15,10 @@ Sometimes these caches are not invalidated when you've updated the docs.
If docs are not updating the way you expect, first try "force reloading" your browser page – e.g. reload the page without using the cache.
Next, if problems persist, clear the sphinx cache and try building them again (`make clean` from `docs` directory).

.. note::
If you've cloned the repository pre 1.8.0, you may need to be more thorough in cleaning.
If you run into warnings try removing all untracked files in the docs directory.


Adding to the docs
------------------
Expand All @@ -24,8 +28,7 @@ These files are found in the `docs/release-notes/` directory.
We recommend waiting on this until your PR is close to done since this can often causes merge conflicts.

Once you've added a new function to the documentation, you'll need to make sure there is a link somewhere in the documentation site pointing to it.
For computational methods, this should be added to `docs/index.rst` under a relevant heading.
For plotting functions, add these to the module docstring of the plotting module at `scanpy/pl/__init__.py`.
This should be added to `docs/api.rst` under a relevant heading.

For tutorials and more in depth examples, consider adding a notebook to `scanpy-tutorials <https://github.com/theislab/scanpy-tutorials/>`__.

Expand Down
2 changes: 1 addition & 1 deletion docs/dev/external-tools.rst
Expand Up @@ -8,7 +8,7 @@ Docs
----

To make sure your tool gets an entry in the documentation, you'll have to add it.
These docs are generated from the module docstring for `sc.external`, so make sure there is a reference to your new function in `scanpy/external/__init__.py`.
Make sure there is a reference to your new function in `docs/external.rst`.

Testing
-------
Expand Down
1 change: 1 addition & 0 deletions docs/release-notes/1.8.0.rst
Expand Up @@ -53,5 +53,6 @@
- Fixed typos in grouped plot doc-strings :pr:`1877` :smaller:`C Rands`
- Extended examples for differential expression plotting. :pr:`1529` :smaller:`F Ramirez`
- See :func:`~scanpy.pl.rank_genes_groups_dotplot` or :func:`~scanpy.pl.rank_genes_groups_matrixplot` for examples.
- Reorganized reference docs :pr:`1753` :smaller:`I Virshup`

.. _docsearch: https://docsearch.algolia.com/

0 comments on commit deb2d91

Please sign in to comment.