Skip to content

Treat Sphinx doc build warnings as errors.#8033

Merged
bneradt merged 1 commit intoapache:masterfrom
bneradt:treat_docs_warnings_as_errors
Jul 2, 2021
Merged

Treat Sphinx doc build warnings as errors.#8033
bneradt merged 1 commit intoapache:masterfrom
bneradt:treat_docs_warnings_as_errors

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jul 2, 2021

It's easy to introduce warnings in the doc build without noticing them
due to the amount of output from the build. This changes the
sphinx-build invocation to treat any warnings we introduce as errors so
that such problems will get caught.

It also fixes a handful of warnings that got introduced recently as
well. With this patch, the build runs cleanly without warnings.

It's easy to introduce warnings in the doc build without noticing them
due to the amount of output from the build. This changes the
sphinx-build invocation to treat any warnings we introduce as errors so
that such problems will get caught.

It also fixes a handful of warnings that got introduced recently as
well. With this patch, the build runs cleanly without warnings.
@bneradt bneradt added this to the 10.0.0 milestone Jul 2, 2021
@bneradt bneradt self-assigned this Jul 2, 2021
@bneradt bneradt requested review from bryancall and mlibbey as code owners July 2, 2021 15:15
@shinrich
Copy link
Member

shinrich commented Jul 2, 2021

Looks good to me! Thanks for cleaning it up.

@bneradt bneradt merged commit 4525df0 into apache:master Jul 2, 2021
@bneradt bneradt deleted the treat_docs_warnings_as_errors branch July 2, 2021 16:23
@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Sep 23, 2021
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 7, 2022
* asf/master: (763 commits)
  rate_limit: Add a global hook to rate limit concurrent connections based on SNI (apache#8021)
  Fix uri_signing unit test for out of source builds (apache#8040)
  tests: Add conditions for BoringSSL and OpenSSL (apache#8045)
  change debug tags and make sure sni is printed on certain logs (apache#7673)
  Doc build in CI: build English docs with -W (apache#8039)
  When loading async SSL configuration file fails, log SSL error (apache#8036)
  Doc build: treat warnings as errors only by default (apache#8038)
  For test async_engine, export all symbols (apache#8037)
  Fix the server cert reload (apache#8030)
  Treat Sphinx doc build warnings as errors. (apache#8033)
  Stablize trace curl test in good_request_after_bad (apache#8032)
  Doc: Update documentation to build cleanly in Sphinx 3. Require Sphinx 3 or better. (apache#7978)
  Docs: Fix pre-formatting for ratelimit plugin (apache#7986)
  Make it slightly harder to dump private keys to logs (apache#8029)
  tls_bad_alpn: Add an openssl version skip check (apache#8026)
  per thread jemalloc arena for MADV_DONTDUMP (apache#7501)
  Adds a new rm-destination, this lets you specify either QUERY or PATH, and be able to drop them from the incoming request (apache#8025)
  Fix HPACK eviction iterator manipulation (apache#8004)
  Do not invalidate cached resources upon error responses to unsafe methods (apache#7999)
  Cleanup SSLUtils (apache#8007)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants