Skip to content

Commit

Permalink
Make the module index more useful
Browse files Browse the repository at this point in the history
Remove very common prefixes from the modules before indexing them.
Otherwise the index wouldn't be very useful as everything would be
referenced under a single or very few letters.
  • Loading branch information
gnn committed Feb 26, 2023
1 parent e35f17c commit 91ae14b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
napoleon_use_param = False

add_module_names = False
modindex_common_prefix = ["egon.data.", "egon.data.datasets."]

0 comments on commit 91ae14b

Please sign in to comment.