diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2023-01-13 12:45:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 12:45:23 -0800 |
commit | 150daea06aeb7acd88d09fdf946a6210e97476a8 (patch) | |
tree | d40b3d463f389d889f95fcc60c89be336387e093 /doc | |
parent | c70720d17d9d5650643fba5565d618876121e036 (diff) | |
download | networkx-150daea06aeb7acd88d09fdf946a6210e97476a8.tar.gz |
DOC: Minor formatting fixups to get rid of doc build warnings. (#6363)
Minor formatting fixups to get rid of doc build warnings.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 2 | ||||
-rw-r--r-- | doc/developer/new_contributor_faq.rst | 2 | ||||
-rw-r--r-- | doc/developer/nxeps/nxep-0004.rst | 6 | ||||
-rw-r--r-- | doc/developer/projects.rst | 2 | ||||
-rw-r--r-- | doc/reference/algorithms/centrality.rst | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/doc/conf.py b/doc/conf.py index 4059015c..efdb0cea 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -136,7 +136,7 @@ html_theme_options = { ], "external_links": [{"name": "Guides", "url": "https://networkx.org/nx-guides/"}], "navbar_end": ["theme-switcher", "navbar-icon-links", "version"], - "page_sidebar_items": ["search-field", "page-toc", "edit-this-page"], + "secondary_sidebar_items": ["search-field", "page-toc", "edit-this-page"], "header_links_before_dropdown": 7, } html_sidebars = { diff --git a/doc/developer/new_contributor_faq.rst b/doc/developer/new_contributor_faq.rst index 9c289783..1bfefdb1 100644 --- a/doc/developer/new_contributor_faq.rst +++ b/doc/developer/new_contributor_faq.rst @@ -110,7 +110,7 @@ For example, let's say you are interested in making a change to the where it is defined. In an IPython terminal, you can use ``?`` --- the source file is listed in the ``File:`` field: -.. code-block:: ipython +.. code-block:: ipython3 In [1]: import networkx as nx In [2]: nx.kamada_kawai_layout? diff --git a/doc/developer/nxeps/nxep-0004.rst b/doc/developer/nxeps/nxep-0004.rst index 8d6912f9..e91968b3 100644 --- a/doc/developer/nxeps/nxep-0004.rst +++ b/doc/developer/nxeps/nxep-0004.rst @@ -21,12 +21,12 @@ that includes support for `numpy.random` and the Python built-in `random` module preferred package for random number generation. NumPy introduced a new interface in the `numpy.random` package in NumPy version 1.17. -According to :doc:`NEP19 <nep-0019-rng-policy>`, the new interface based on +According to :external+neps:doc:`NEP19 <nep-0019-rng-policy>`, the new interface based on `numpy.random.Generator` is recommended over the legacy `numpy.random.RandomState` as the former has `better statistical properties <https://www.pcg-random.org/index.html>`_, -:doc:`more features <reference/random/new-or-different>`, -and :doc:`improved performance <reference/random/performance>`. +:external+numpy:doc:`more features <reference/random/new-or-different>`, +and :external+numpy:doc:`improved performance <reference/random/performance>`. This NXEP proposes a strategy for adopting `numpy.random.Generator` as the **default** interface for random number generation within NetworkX. diff --git a/doc/developer/projects.rst b/doc/developer/projects.rst index 49f3f239..38f23235 100644 --- a/doc/developer/projects.rst +++ b/doc/developer/projects.rst @@ -47,7 +47,7 @@ Completed Projects - `VF2++ algorithm for graph isomorphism`_ - Program: Google Summer of Code 2022 - Contributor: `@kpetridis24 <https://github.com/kpetridis24/>`__ - - Link to Proposal: `GSoC 2022: VF2++ Algorithm <https://github.com/networkx/archive/blob/main/proposals-gsoc/GSoC-2022-VF2plusplus-isomorphism.pdf`_ + - Link to Proposal: `GSoC 2022: VF2++ Algorithm <https://github.com/networkx/archive/blob/main/proposals-gsoc/GSoC-2022-VF2plusplus-isomorphism.pdf>`_ - `Louvain community detection algorithm`_ - Program: Google Summer of Code 2021 diff --git a/doc/reference/algorithms/centrality.rst b/doc/reference/algorithms/centrality.rst index 92ac0292..b7d40017 100644 --- a/doc/reference/algorithms/centrality.rst +++ b/doc/reference/algorithms/centrality.rst @@ -150,8 +150,8 @@ VoteRank voterank Laplacian --------- +--------- .. autosummary:: :toctree: generated/ - laplacian_centrality
\ No newline at end of file + laplacian_centrality |