Skip to content

Commit

Permalink
Updates on files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Rogalskiy committed Mar 26, 2022
1 parent fe0ed95 commit 3028a7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ WGET_OPTS := --no-check-certificate
# PIP_BUILD_OPTS stores pip build options
PIP_BUILD_OPTS := --disable-pip-version-check --no-cache-dir --no-compile --prefer-binary
# PIP_BUILD_OPTS stores mkdocs build options
MKDOCS_BUILD_OPTS := --clean --strict --verbose
MKDOCS_BUILD_OPTS := --clean --strict --verbose --config-file mkdocs.yml
# PIP_BUILD_OPTS stores mkdocs deploy options
MKDOCS_DEPLOY_OPTS := --verbose --clean --force
MKDOCS_DEPLOY_OPTS := --verbose --clean --force --remote-branch gh-pages
# PIP_BUILD_OPTS stores mkdocs serve options
MKDOCS_SERVE_OPTS := --verbose --dirtyreload
MKDOCS_SERVE_OPTS := --verbose --dirtyreload --dev-addr=0.0.0.0:8000 --config-file mkdocs.yml
# HTMLTEST stores htmltest binary
HTMLTEST := htmltest
# HTMLTEST_OPTS stores htmltest binary arguments
Expand Down Expand Up @@ -360,7 +360,7 @@ install-pip:
.PHONY: local-build
local-build:
$(AT)$(PYTHON_CMD) -m pip install $(PIP_BUILD_OPTS) -r ./docs/requirements.txt
$(AT)$(PYTHON_CMD) -m mkdocs build $(MKDOCS_BUILD_OPTS) --config-file mkdocs.yml
$(AT)$(PYTHON_CMD) -m mkdocs build $(MKDOCS_BUILD_OPTS)
$(AT)echo
$(AT)echo -e "$(COLOR_RED)Python documentation build finished.$(COLOR_NORMAL)"
$(AT)echo
Expand All @@ -374,7 +374,7 @@ local-run: local-build
.PHONY: venv-build
venv-build: _venv
$(AT)$(VENV_PYTHON) -m pip install $(PIP_BUILD_OPTS) -r ./docs/requirements.txt
$(AT)$(VENV_PYTHON) -m mkdocs build $(MKDOCS_BUILD_OPTS) --config-file mkdocs.yml
$(AT)$(VENV_PYTHON) -m mkdocs build $(MKDOCS_BUILD_OPTS)
$(AT)echo
$(AT)echo -e "$(COLOR_RED)Build finished. The source pages are in $(VENV_NAME) directory.$(COLOR_NORMAL)"
$(AT)echo
Expand All @@ -388,7 +388,7 @@ venv-run: venv-build
# Run github pages deploy command.
.PHONY: gh-pages
gh-pages:
$(AT)$(PYTHON_CMD) -m mkdocs gh-deploy $(MKDOCS_DEPLOY_OPTS) --remote-branch gh-pages
$(AT)$(PYTHON_CMD) -m mkdocs gh-deploy $(MKDOCS_DEPLOY_OPTS)
$(AT)echo
$(AT)echo -e "$(COLOR_RED)GitHub pages generated.$(COLOR_NORMAL)"
$(AT)echo
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"adr:new": "adr-tools new 'Styled Java Patterns'",
"adr:list": "adr-tools list",
"remark": "remark -q -f .",
"toc": "roadmarks",
"setheapsize": "export NODE_OPTIONS=--max_old_space_size=2048",
"sort-package-json": "sort-package-json",
"start-docker": "docker stack deploy -c docker-compose.yml dev",
Expand Down Expand Up @@ -165,6 +166,7 @@
"remark-preset-davidtheclark": "^0.12.0",
"remark-validate-links": "^10.0.4",
"repo-link-check": "^0.7.1",
"roadmarks": "^1.6.3",
"sort-package-json": "^1.54.0",
"stylelint": "~13.13.1",
"stylelint-config-standard": "^22.0.0",
Expand Down

0 comments on commit 3028a7c

Please sign in to comment.