aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_scripts/Makefile
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2021-10-13 12:40:42 +0200
committerDave Wallace <dwallacelf@gmail.com>2021-10-13 23:22:32 +0000
commitcbb4e460c481223282774b37add0bf9fb9e6170a (patch)
treec4d6490e725806088e397bf7bc0daf05e4ab5374 /docs/_scripts/Makefile
parent9ad39c026c8a3c945a7003c4aa4f5cb1d4c80160 (diff)
docs: C & C++ apis examples
Type: docs Change-Id: I5b6c388332bdd3a29777d728c3357816c8411ea2 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'docs/_scripts/Makefile')
-rw-r--r--docs/_scripts/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/_scripts/Makefile b/docs/_scripts/Makefile
index dbd88bf9a20..f9cb535182f 100644
--- a/docs/_scripts/Makefile
+++ b/docs/_scripts/Makefile
@@ -139,6 +139,15 @@ includes-render:
template-index:
@sed -ie "s/__VPP_VERSION__/${VPP_VERSION}/g" ${DOCS_DIR}/index.rst
@sed -ie "s/__BUILT_ON__/${BUILT_ON}/g" ${DOCS_DIR}/index.rst
+ @( \
+ for f in $$(grep -l -R __REPOSITORY_URL__ ${DOCS_DIR} | grep -e '\.rst$$' -e '\.md$$' ) ;\
+ do \
+ if [ ! -z $${f} ]; then \
+ echo "TEMPLATING $${f}" ;\
+ sed -ie "s@__REPOSITORY_URL__@${REPOSITORY_URL}@g" $${f} ;\
+ fi ;\
+ done ; \
+ )
.NOTPARALLEL: $(SIPHON_FILES)
$(SIPHON_FILES): $(SCRIPTS_DIR)/siphon-generate \