Removed WikiLinks
This commit is contained in:
parent
f9eaa30b9d
commit
c930221520
|
|
@ -1,6 +1,6 @@
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import markdown
|
import markdown
|
||||||
from markdown.extensions.wikilinks import WikiLinkExtension
|
# from markdown.extensions.wikilinks import WikiLinkExtension
|
||||||
from markdown.extensions.toc import TocExtension
|
from markdown.extensions.toc import TocExtension
|
||||||
|
|
||||||
SOURCE_DIR = Path("docs") # input folder
|
SOURCE_DIR = Path("docs") # input folder
|
||||||
|
|
@ -13,7 +13,7 @@ def my_url_builder(label, base, end):
|
||||||
def convert_markdown_to_html(md_path: Path, html_path: Path):
|
def convert_markdown_to_html(md_path: Path, html_path: Path):
|
||||||
html_path.parent.mkdir(parents=True, exist_ok=True)
|
html_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
md = markdown.Markdown(extensions=[
|
md = markdown.Markdown(extensions=[
|
||||||
WikiLinkExtension(base_url='./', end_url='.html', build_url=my_url_builder),
|
# WikiLinkExtension(base_url='./', end_url='.html', build_url=my_url_builder),
|
||||||
TocExtension(permalink=True),
|
TocExtension(permalink=True),
|
||||||
'tables',
|
'tables',
|
||||||
'fenced_code',
|
'fenced_code',
|
||||||
|
|
|
||||||
|
|
@ -8,29 +8,29 @@ Next: Overview
|
||||||
<em class="sls-title">Stack Language Specification</em>
|
<em class="sls-title">Stack Language Specification</em>
|
||||||
|
|
||||||
**Sections**:
|
**Sections**:
|
||||||
1. [[Overview]]
|
1. [Overview](./overview.html)
|
||||||
2. [[Lexical Structure]]
|
2. [Lexical Structure](./lexical_structure.html)
|
||||||
3. [[Primitive Types]]
|
3. [Primitive Types](./primitive_types.html)
|
||||||
4. [[Basic Operations]]
|
4. [Basic Operations](./basic_operations.html)
|
||||||
5. [[Functions]]
|
5. [Functions](./functions.html)
|
||||||
6. [[Control Flow]]
|
6. [Control Flow](./control_flow.html)
|
||||||
7. [[Data Structures]]
|
7. [Data Structures](./data_structures.html)
|
||||||
8. [[Type System]]
|
8. [Type System](./type_system.html)
|
||||||
9. [[Trait System]]
|
9. [Trait System](./trait_system.html)
|
||||||
10. [[Generic Programming]]
|
10. [Generic Programming](./generic_programming.html)
|
||||||
11. [[Advanced Topics]]
|
11. [Advanced Topics](./advanced_topics.html)
|
||||||
|
|
||||||
**Appendices**:
|
**Appendices**:
|
||||||
- A. [[Standard Library]]
|
- A. [Standard Library](./standard_library.html)
|
||||||
- B. [[Complete Trait Reference]]
|
- B. [Complete Trait Reference](./complete_trait_reference.html)
|
||||||
- C. [[Complete Operator Reference]]
|
- C. [Complete Operator Reference](./complete_operator_reference.html)
|
||||||
- D. [[Grammar Summary]]
|
- D. [Grammar Summary](./grammar_summary.html)
|
||||||
- E. [[Module System]] (Future)
|
- E. [Module System](./module_system.html) (Future)
|
||||||
- F. [[Memory Management]] (Future)
|
- F. [Memory Management](./memory_management.html) (Future)
|
||||||
- G. [[Examples and Tutorials]]
|
- G. [Examples and Tutorials](./examples_and_tutorials.html)
|
||||||
|
|
||||||
**Addendum**:
|
**Addendum**:
|
||||||
- [[Missing Features]]
|
- [Missing Features](./missing_features.html)
|
||||||
- [[SE 3250 Assignment Details]]
|
- [SE 3250 Assignment Details](./se_3250_assignment_details.html)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue