Step 1: Start modifying settings file
07/24/2024 9:58 AMdocker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest migrate Documentation
Step 2: Delete or modify files
07/24/2024 9:56 AM.. You can put central messages to display on all pages here
Step 3: Modify guides.xml
07/24/2024 9:54 AMinterlink-shortcode="my-vendor/my-ext-key"
Step 4: Create files locally
07/24/2024 9:50 AM# Create a directory mkdir -p Documentation-GENERATED-temp # Execute the Docker container that is provided remotely. # Renders all files in the `Documentation` and store in `Documentation-GENERATED-temp`. # On macOS you need to specify the parameter "--user=$(id -u):$(id -g)" docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
Step 7: Include tests (Github actions)
07/24/2024 9:47 AMname: test documentation
on: [ push, pull_request ]
jobs:
tests:
name: documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Step 8: Pre configuration for Makefile
07/24/2024 9:44 AM# Makefile
[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tabStep 9: Makefile
07/24/2024 9:42 AM.PHONY: help
help: ## Displays this list of targets with descriptions
@echo "The following commands are available:\n"
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: docs
docs: ## Generate projects documentation (from "Documentation" directory)
mkdir -p Documentation-GENERATED-temp
docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation