Skip to content
Adam-ElmiPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocMerge

DocMerge combines multiple topic files into one single document for easy documentation management.

Usage

  1. Organize topics in a folder:
js-topics/
 ├── config.js
 ├── 1-variable.mdx
 ├── 2-console.mdx
 ├── 3-conditionals.mdx
  1. Set output folder and output file in config.js.

  2. Run:

node merge.js <topics folder>

Output

Generates a single combined file in the output folder.

Note

Orders files by filename (prefix with numbers)

Tip

Only specific configuration properties are allowed in config.js (such as imports, frontmatter, outputFile, outputDir, order and hook) this limitation is intentional to avoid confusion and keep DocMerge predictable and easy to use.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages