-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add option to set :noindex: Fix #130 * Remove py2 compat code * Add test * Fix package discovery * Cleanup * Include test files * Typos * Comment out language = None Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
- Loading branch information
Showing
14 changed files
with
118 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
project = 'duplicated' | ||
copyright = '2022, Maximilian Linhoff' | ||
author = 'Maximilian Linhoff' | ||
release = '0.1' | ||
|
||
|
||
extensions = [ | ||
"sphinx_automodapi.automodapi", | ||
] | ||
|
||
html_theme = 'alabaster' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Foo Submodule | ||
============= | ||
|
||
|
||
API Reference | ||
------------- | ||
|
||
.. automodapi:: sphinx_automodapi.tests.duplicated_warning.duplicated.foo | ||
:noindex: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. duplicated documentation master file, created by | ||
sphinx-quickstart on Tue Mar 29 17:11:23 2022. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Welcome to duplicated's documentation! | ||
====================================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
foo | ||
|
||
|
||
API Reference | ||
------------- | ||
|
||
.. automodapi:: sphinx_automodapi.tests.duplicated_warning.duplicated |
6 changes: 6 additions & 0 deletions
6
sphinx_automodapi/tests/duplicated_warning/duplicated/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from .foo import Foo | ||
|
||
|
||
__all__ = [ | ||
'Foo', | ||
] |
5 changes: 5 additions & 0 deletions
5
sphinx_automodapi/tests/duplicated_warning/duplicated/foo/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .foo import Foo | ||
|
||
__all__ = [ | ||
"Foo", | ||
] |
17 changes: 17 additions & 0 deletions
17
sphinx_automodapi/tests/duplicated_warning/duplicated/foo/foo.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
__all__ = [ | ||
'Foo', | ||
'Bar', | ||
'baz', | ||
] | ||
|
||
|
||
class Foo: | ||
'''Awesome Foo class''' | ||
|
||
|
||
class Bar: | ||
'''Awesome Bar class''' | ||
|
||
|
||
def baz(): | ||
'''Awesome baz function''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters