Skip to content

Commit 0be1017

Browse files
Update docs with new directory name
1 parent 59e8db5 commit 0be1017

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libc/docs/dev/header_generation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ To add through the command line:
4545
.. code-block:: none
4646
4747
python3 libc/hdrgen/yaml_to_classes.py
48-
libc/hdrgen/yaml/[yaml_file.yaml] --add_function "<return_type>" <function_name> "<function_arg1, function_arg2>" <standard> <guard> <attribute>
48+
libc/hdrgen/spec/[yaml_file.yaml] --add_function "<return_type>" <function_name> "<function_arg1, function_arg2>" <standard> <guard> <attribute>
4949
5050
Example:
5151

5252
.. code-block:: none
5353
5454
python3 libc/hdrgen/yaml_to_classes.py
55-
libc/hdrgen/yaml/ctype.yaml --add_function "char" example_function
55+
libc/hdrgen/spec/ctype.yaml --add_function "char" example_function
5656
"int, void, const void" stdc example_float example_attribute
5757
5858
Keep in mind only the return_type and arguments have quotes around them. If
@@ -117,7 +117,7 @@ Common Errors
117117
missing. Ensure the correct style and required files are present:
118118

119119
| ``[header_name]``
120-
| ``[../libc/hdrgen/yaml/[yaml_file.yaml]``
120+
| ``[../libc/hdrgen/spec/[yaml_file.yaml]``
121121
| ``[header_name.h.def]``
122122
| ``[header_name.h]``
123123
| ``DEPENDS``

libc/src/math/docs/add_math_function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ together with its specifications:
1818
```
1919
- Add function specs to the file:
2020
```
21-
libc/hdrgen/yaml/math.yaml
21+
libc/hdrgen/spec/math.yaml
2222
```
2323

2424
## Implementation

0 commit comments

Comments
 (0)