-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Symlink (instead of copying) the API reference
[ upstream commit 944dddf ] To generate the gRPC API reference, we copy the "api" repository at the root of the repository to "Documentation/_api". This step is required everywhere we need to build the docs: - Locally, we run it through the "copy-api" target in Documentation/Makefile, before generating the HTML. - Same thing for the Netlify preview, where "copy-api" is a dependency for the "html-netlify" target. - However, on ReadTheDocs, where we generate and host the online documentation, we do not perform this step; nor do we use the Makefile at all. As a workaround, let's simplify the way we access the API reference. Instead of copying the docs, just symlink them from the Documentation directory. Signed-off-by: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
- Loading branch information
Showing
4 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
_build | ||
_api | ||
_preview | ||
_exts/__pycache__ | ||
Pipfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../api |