edit description & links

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-08-28 11:51:39 +02:00
parent 54fed22b8b
commit c695c12070
7 changed files with 14 additions and 7 deletions
+9 -2
View File
@@ -6,11 +6,16 @@ REPO_ROOT = Path(__file__).resolve().parents[2]
README = REPO_ROOT / "README.md"
SKIP_DIRS = {".git", ".github", ".direnv"}
SECTION_TITLE_OVERRIDES = {"osint": "OSINT"}
DESCRIPTION = "A personal collection of security notes and cheatsheets, covering offensive security and OSINT."
FRONTMATTER_RE = re.compile(r"^---\n(.*?\n)---\n", re.DOTALL)
FIELD_RE = re.compile(r'^(\w+):\s*"?(.*?)"?\s*$')
TOC_START = "<!-- START doctoc generated TOC please keep comment here to allow auto update -->"
TOC_END = "<!-- END doctoc generated TOC please keep comment here to allow auto update -->"
TOC_START = (
"<!-- START doctoc generated TOC please keep comment here to allow auto update -->"
)
TOC_END = (
"<!-- END doctoc generated TOC please keep comment here to allow auto update -->"
)
def existing_toc_block():
@@ -62,6 +67,8 @@ def main():
lines = [
"# Sec Notes",
"",
DESCRIPTION,
"",
existing_toc_block(),
"",
]