Skip to content

Commit

Permalink
Suppressed autolabel-caused warnings with note
Browse files Browse the repository at this point in the history
  • Loading branch information
kathatherine committed Apr 3, 2024
1 parent 3f22c86 commit 110f625
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@
],
}

# Suppresses build warnings caused by more than one header having the same name
# Note: This suppression and the sphinx.ext.autosectionlabel extension should
# be removed if sections with the same header ever need to be referred to by label.
# Or the same header labels should be rewritten to not be the same.

suppress_warnings = ['autosectionlabel.*']

# Additional templates that should be rendered to pages, maps page names to
# template names.
#
Expand Down
2 changes: 0 additions & 2 deletions docs/source/config.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _Configuration:

=============
Configuration
=============
Expand Down
6 changes: 3 additions & 3 deletions docs/source/user-guide/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Concepts


Project
========
=======

A project is a folder that contains an ``anaconda-project.yml``
configuration file together with scripts, notebooks and other
Expand Down Expand Up @@ -38,7 +38,7 @@ command---``anaconda-project run``.


Configuration files
====================
===================

Projects are affected by 3 configuration files:

Expand Down Expand Up @@ -84,7 +84,7 @@ into your script, which can be a security risk.


Comparing Project to conda env and environment.yml
===================================================
==================================================

Project has similar functionality to the ``conda env`` command
and the ``environment.yml`` file, but it may be more convenient.
Expand Down

0 comments on commit 110f625

Please sign in to comment.