Skip to content

Commit

Permalink
proofread and autotranslated syntax doc
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Mar 24, 2024
1 parent 80916c2 commit 130634f
Show file tree
Hide file tree
Showing 7 changed files with 1,850 additions and 3,379 deletions.
21 changes: 10 additions & 11 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
#!make

.PHONY: en # mark as phony so it always runs even we have a docs folder
.HELP: en ## Docs preview English
en:
# docstrings.sh
open -a "Google Chrome" http://127.0.0.1:8000/
./docs-render-config.sh en
mkdocs serve -f _mkdocs.yml
# If the first argument is "docs" treat additional "targets" as parameters
ifeq (docs,$(firstword $(MAKECMDGOALS)))
DOCS_LANGUAGE := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
# turn the parameters into do-nothing targets
$(eval $(RUN_ARGS):;@:)
endif

.PHONY: ru # mark as phony so it always runs even we have a docs folder
.HELP: ru ## Docs preview Russian
ru:
.PHONY: docs # mark as phony so it always runs even we have a docs folder
.HELP: docs ## Docs preview for the language specified (bg de en es fr ru)
docs:
# docstrings.sh
open -a "Google Chrome" http://127.0.0.1:8000/
./docs-render-config.sh ru
./docs-render-config.sh $(DOCS_LANGUAGE)
mkdocs serve -f _mkdocs.yml

.HELP: help ## Display this message
Expand Down
1,389 changes: 431 additions & 958 deletions docs/src/bg/regular_expressions.md

Large diffs are not rendered by default.

Loading

0 comments on commit 130634f

Please sign in to comment.