Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Merge requests
!813
Repair + added archive ignoring
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Repair + added archive ignoring
Bommel-TOC-Headings
into
preview
Overview
1
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Michael Bommhardt-Richter
requested to merge
Bommel-TOC-Headings
into
preview
2 years ago
Overview
1
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Repair + added archive ignoring (not the best variant but works)
0
0
Merge request reports
Compare
version 1
version 1
9ab3d02b
2 years ago
preview (base)
and
latest version
latest version
cef3c118
2 commits,
2 years ago
version 1
9ab3d02b
1 commit,
2 years ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
doc.zih.tu-dresden.de/util/check-toc-equals-page-headings.py
+
1
−
1
Options
@@ -12,7 +12,7 @@ from pathlib import Path
# {path/filename.md: [toc_heading, file_heading], ... }
TOCData
=
dict
()
whitelist
=
[
"
index.md
"
,
"
archive/
"
]
# ["archive"]
whitelist
=
[
"
index.md
"
,
"
archive/
"
]
def
get_heading_in_file
(
filename
,
docs_path
):
Loading