Skip to content

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jun 5, 2024

This fixes all docs Sphinx warnings and turns on the -W flag to sphinx so that the build will fail if any warnings get introduced in the future.

Many of these changes involve transitioning many of the domains from :c: to :cpp:. Note there are still uses for the :c: domain since some directives we use are only supported there, such as our macros. But many functions and enumerations that used to be c are now cpp.

This fixes all docs Sphinx warnings and turns on the `-W` flag to sphinx
so that the build will fail if any warnings get introduced in the
future.

Many of these changes involve transitioning many of the domains from :c:
to :cpp:. Note there are still uses for the :c: domain since some
directives we use are only supported there, such as our macros. But many
functions and enumerations that used to be c are now cpp.
@bneradt bneradt added this to the 10.1.0 milestone Jun 5, 2024
@bneradt bneradt requested a review from cmcfarlen June 5, 2024 20:12
@bneradt bneradt self-assigned this Jun 5, 2024
@bneradt bneradt merged commit 188a128 into apache:master Jun 6, 2024
@bneradt bneradt deleted the fix_docs_warnings branch June 6, 2024 15:02
bneradt added a commit to bneradt/trafficserver that referenced this pull request Jun 6, 2024
This fixes all docs Sphinx warnings and turns on the `-W` flag to sphinx
so that the build will fail if any warnings get introduced in the
future.

Many of these changes involve transitioning many of the domains from :c:
to :cpp:. Note there are still uses for the :c: domain since some
directives we use are only supported there, such as our macros. But many
functions and enumerations that used to be c are now cpp.

(cherry picked from commit 188a128)

Conflicts:
      doc/developer-guide/api/functions/TSContScheduleEveryOnThread.en.rst
bneradt added a commit that referenced this pull request Jun 6, 2024
This fixes all docs Sphinx warnings and turns on the `-W` flag to sphinx
so that the build will fail if any warnings get introduced in the
future.

Many of these changes involve transitioning many of the domains from :c:
to :cpp:. Note there are still uses for the :c: domain since some
directives we use are only supported there, such as our macros. But many
functions and enumerations that used to be c are now cpp.

(cherry picked from commit 188a128)

Conflicts:
      doc/developer-guide/api/functions/TSContScheduleEveryOnThread.en.rst
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.

2 participants