docs: split maps.md into per-section source files and refresh content [PR8]#3652
Open
BRaimbault wants to merge 7 commits into
Open
docs: split maps.md into per-section source files and refresh content [PR8]#3652BRaimbault wants to merge 7 commits into
BRaimbault wants to merge 7 commits into
Conversation
Contributor
|
🚀 Deployed on https://pr-3652.maps.netlify.dhis2.org |
BRaimbault
commented
May 19, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
The monolithic
docs/maps.mdfile (~1900 lines) has been split into numbered source files underdocs/src/, making individual sections easier to find, edit, and review. A build script reassembles them into the single output file that DHIS2 documentation tooling consumes.docs/maps.mdinto 20 numbered source files underdocs/src/(one per section, e.g.04-thematic-layer.md,09-earth-engine-layer.md)scripts/build-docs.jsto concatenate source files back intodocs/maps.md(with image path rewriting)docs:buildand docs:format npm scripts (yarn docs:buildformats sources then regenerates the output file).prettierignoreto allow formatting ofdocs/src/*.mdwhile ignoring the generateddocs/maps.mdanddocs/resources/Notes
docs/maps.mdis now a generated file - edits should be made to the source files indocs/src/and the output rebuilt withyarn docs:build.