Skip to content

Commit 09dc8ab

Browse files
committed
[libc++][doc] Fixes FeatureTestMacroTable.html.
`utils/generate_feature_test_macro_components.py` uses the wrong indentation. `:name: feature-status-table :widths: auto` is rendered as text instead of being used by Sphinx to render the table properly. This fixes the identation in the souce and updates the generated output. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D112251
1 parent 7457fe3 commit 09dc8ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libcxx/docs/FeatureTestMacroTable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Status
1818
======
1919

2020
.. table:: Current Status
21-
:name: feature-status-table
22-
:widths: auto
21+
:name: feature-status-table
22+
:widths: auto
2323

2424
================================================= =================
2525
Macro Name Value

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,8 +1095,8 @@ def produce_docs():
10951095
======
10961096
10971097
.. table:: Current Status
1098-
:name: feature-status-table
1099-
:widths: auto
1098+
:name: feature-status-table
1099+
:widths: auto
11001100
11011101
{status_tables}
11021102

0 commit comments

Comments
 (0)