Skip to content

Commit

Permalink
update Makefile rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaypatil96 committed Aug 21, 2024
1 parent 6189449 commit f6ec795
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ SRC = src
DEST = project
PYMODEL = $(SRC)/$(SCHEMA_NAME)/datamodel
DOCDIR = docs
EXAMPLEDIR = examples
EXAMPLE_DIR = examples
TEMPLATE_DIR = doc-templates
SHEET_MODULE = personinfo_enums
SHEET_ID = $(shell ${SHELL} ./utils/get-value.sh google_sheet_id)
SHEET_TABS = $(shell ${SHELL} ./utils/get-value.sh google_sheet_tabs)
Expand Down Expand Up @@ -144,7 +145,9 @@ $(DOCDIR):

gendoc: $(DOCDIR)
cp $(SRC)/docs/*md $(DOCDIR) ; \
$(RUN) gen-doc ${GEN_DARGS} -d $(DOCDIR) $(SOURCE_SCHEMA_PATH)
$(RUN) gen-doc ${GEN_DARGS} -d $(DOCDIR) --template-directory $(SRC)/$(TEMPLATE_DIR) $(SOURCE_SCHEMA_PATH)
mkdir -p $(DOCDIR)/javascripts
$(RUN) cp $(SRC)/scripts/*.js $(DOCDIR)/javascripts/

testdoc: gendoc serve

Expand Down
10 changes: 9 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ theme:
- content.tabs.link
plugins:
- search
- mermaid2
- mermaid2:
version: 10.9.0
markdown_extensions:
- admonition
- tables
- pymdownx.magiclink
extra_javascript:
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- javascripts/tablesort.js
nav:
# - Home: home.md
- Index: index.md
Expand Down

0 comments on commit f6ec795

Please sign in to comment.