This project is for processing the files from https://github.com/lisp-docs/cl-standard into broken down pieces of markdown to be used by https://github.com/lisp-docs/cl-language-reference
- First Step is to execute
(run-project)
in main.lisp - Run any of the following scripts:
- The following scripts can only be executed in this project's
output
folder:- split-glossary.py
- Note that the glossary file path is hard coded.
- split-glossary.py
- The following python scripts can be executed with a given directory:
- fix all html tags by running fix-html-tags.py
- Note: This should be executed after making adding code blocks
- additional text fixes running text-fixes-for-code-blocks.py
- clear footers by running clear_footers.py
- add markdown code blocks with add-md-code-blocks.py
- split the dictionary files make-dictionary.py
- remove double lines in markdown code blocks: clean_double_lines.py
- indent code blocks indent-code-blocks.py
- fix the glossary fix-glossary.py
- make the glossary make-glossary.py
- make dictionary json make-spec-dictionary-json.py
- fix all html tags by running fix-html-tags.py
- The following scripts can only be executed in this project's
To get the same results as in https://lisp-docs.github.io/cl-language-reference/ run the scripts in the following order:
- Execute
(run-project)
in main.lisp - Add markdown code blocks with add-md-code-blocks.py
- Additional text fixes running text-fixes-for-code-blocks.py
- Remove double lines in markdown code blocks: clean_double_lines.py
- Indent code blocks indent-code-blocks.py
- Clear footers by running clear_footers.py
- Split the dictionary files make-dictionary.py
- Split Glossary split-glossary.py
- Fix all html tags by running fix-html-tags.py
- Fix the glossary fix-glossary.py
- Make the glossary make-glossary.py
- Make dictionary json make-spec-dictionary-json.py
- Test all the scripts
- Produce new json files for glossary and dictionary (glossary, convert to html from markdown?)
- Do Tables Fix
- In Code Blocks that have
<p></p>
tags, replace them with new lines...