[libc-commits] [libc] 6c7894a - [libc][doc] Move docs/math.rst to docs/math/index.rst

Tue Ly via libc-commits libc-commits at lists.llvm.org
Tue Feb 14 10:41:57 PST 2023


Author: Tue Ly
Date: 2023-02-14T13:41:44-05:00
New Revision: 6c7894a8e65289d5e3a655afc1747a06ed8553e0

URL: https://github.com/llvm/llvm-project/commit/6c7894a8e65289d5e3a655afc1747a06ed8553e0
DIFF: https://github.com/llvm/llvm-project/commit/6c7894a8e65289d5e3a655afc1747a06ed8553e0.diff

LOG: [libc][doc] Move docs/math.rst to docs/math/index.rst

Move docs/math.rst to docs/math/index.rst

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D144028

Added: 
    libc/docs/math/index.rst

Modified: 
    libc/docs/index.rst

Removed: 
    libc/docs/math.rst


################################################################################
diff  --git a/libc/docs/index.rst b/libc/docs/index.rst
index ba7a04e31e232..a8691313a0aa2 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -60,7 +60,7 @@ stages there is no ABI stability in any form.
    :caption: Status
 
    date_and_time
-   math
+   math/index.rst
    strings
    stdio
 

diff  --git a/libc/docs/math.rst b/libc/docs/math/index.rst
similarity index 99%
rename from libc/docs/math.rst
rename to libc/docs/math/index.rst
index 3838214b9e04e..3ea2500c2cb89 100644
--- a/libc/docs/math.rst
+++ b/libc/docs/math/index.rst
@@ -4,7 +4,7 @@
 Math Functions
 ==============
 
-.. include:: check.rst
+.. include:: ../check.rst
 
 .. raw:: html
 
@@ -15,7 +15,7 @@ Math Functions
 .. toctree::
   :hidden:
 
-  math/log.rst
+  log.rst
 
 
 .. contents:: Table of Contents
@@ -271,7 +271,7 @@ Performance
 Algorithms + Implementation Details
 ===================================
 
-* :doc:`math/log`
+* :doc:`log`
 
 References
 ==========


        


More information about the libc-commits mailing list