Skip to content

Commit

Permalink
docs: suppress warning from autosectionlabel
Browse files Browse the repository at this point in the history
to silence the warning from sphinx, as we have two "Dropwizard
Metrics" sections in manual/core/metrics/index.md:

```
/home/kefu/dev/scylla-java-driver/docs/_source/manual/core/metrics/index.md:291: WARNING: duplicate label manual/core/metrics/index:dropwizard metrics, other instance in /home/kefu/dev/scyll
a-java-driver/docs/_source/manual/core/metrics/index.md
```

and the warning breaks the "make test". so let's suppress the warning
at this moment.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jul 13, 2024
1 parent db334b9 commit 04d1a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
'scylla-4.14.1.x',
'scylla-4.15.0.x',
]
suppress_warnings = ["ref.any", "myst.header","myst.xref_missing"]
suppress_warnings = ["ref.any", "myst.header","myst.xref_missing","autosectionlabel"]

# -- Options for multiversion extension

Expand Down

0 comments on commit 04d1a58

Please sign in to comment.