Removed WikiLinks

This commit is contained in:
Kyler Olsen 2025-11-02 00:53:20 -06:00
parent f9eaa30b9d
commit c930221520
2 changed files with 22 additions and 22 deletions

View File

@ -1,6 +1,6 @@
from pathlib import Path
import markdown
from markdown.extensions.wikilinks import WikiLinkExtension
# from markdown.extensions.wikilinks import WikiLinkExtension
from markdown.extensions.toc import TocExtension
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):
html_path.parent.mkdir(parents=True, exist_ok=True)
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),
'tables',
'fenced_code',

View File

@ -8,29 +8,29 @@ Next: Overview
<em class="sls-title">Stack Language Specification</em>
**Sections**:
1. [[Overview]]
2. [[Lexical Structure]]
3. [[Primitive Types]]
4. [[Basic Operations]]
5. [[Functions]]
6. [[Control Flow]]
7. [[Data Structures]]
8. [[Type System]]
9. [[Trait System]]
10. [[Generic Programming]]
11. [[Advanced Topics]]
1. [Overview](./overview.html)
2. [Lexical Structure](./lexical_structure.html)
3. [Primitive Types](./primitive_types.html)
4. [Basic Operations](./basic_operations.html)
5. [Functions](./functions.html)
6. [Control Flow](./control_flow.html)
7. [Data Structures](./data_structures.html)
8. [Type System](./type_system.html)
9. [Trait System](./trait_system.html)
10. [Generic Programming](./generic_programming.html)
11. [Advanced Topics](./advanced_topics.html)
**Appendices**:
- A. [[Standard Library]]
- B. [[Complete Trait Reference]]
- C. [[Complete Operator Reference]]
- D. [[Grammar Summary]]
- E. [[Module System]] (Future)
- F. [[Memory Management]] (Future)
- G. [[Examples and Tutorials]]
- A. [Standard Library](./standard_library.html)
- B. [Complete Trait Reference](./complete_trait_reference.html)
- C. [Complete Operator Reference](./complete_operator_reference.html)
- D. [Grammar Summary](./grammar_summary.html)
- E. [Module System](./module_system.html) (Future)
- F. [Memory Management](./memory_management.html) (Future)
- G. [Examples and Tutorials](./examples_and_tutorials.html)
**Addendum**:
- [[Missing Features]]
- [[SE 3250 Assignment Details]]
- [Missing Features](./missing_features.html)
- [SE 3250 Assignment Details](./se_3250_assignment_details.html)
---