Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
title: GNAT
description: >-
GNAT's Not A TIP — unified Python library for cyber threat intelligence
across 159 security platforms. STIX 2.1 ORM, investigations, reports,
rule engine, campaign tracking. Documentation organised with the
Diataxis framework.

theme: jekyll-theme-cayman

show_downloads: false
github:
repository_url: https://github.com/wrhalpin/GNAT

markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge

Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the docs site is expected to render/route section README.md files as landing pages, note that many existing docs link to other sections via paths ending in "README.md" (e.g., ../how-to/README.md). Jekyll typically won’t serve those source .md URLs, so cross-links may break unless you add/link-rewriting support (or standardize links to section directory URLs like "../how-to/").

Suggested change
plugins:
- jekyll-relative-links
relative_links:
enabled: true
collections: true

Copilot uses AI. Check for mistakes.
include:
- assets

exclude:
- README.md
- Gemfile
- Gemfile.lock
- node_modules
- vendor
Comment on lines +22 to +27
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excluding "README.md" here prevents docs/README.md from being part of the built site, which conflicts with the goal of having all docs markdown render on Pages. If the intent is only to avoid using docs/README.md as an index, consider removing this exclusion (or narrowing it explicitly) and rely on index.html to control the landing page.

Copilot uses AI. Check for mistakes.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ <h2>Documentation by intent</h2>
</tr>
<tr>
<th>Learning</th>
<td><a href="https://github.com/wrhalpin/GNAT/blob/main/docs/tutorials/README.md">Tutorials</a><br>Guided, newcomer-safe walkthroughs.</td>
<td><a href="https://github.com/wrhalpin/GNAT/blob/main/docs/explanation/README.md">Explanation</a><br>Architecture, rationale, and design choices.</td>
<td><a href="tutorials/">Tutorials</a><br>Guided, newcomer-safe walkthroughs.</td>
<td><a href="explanation/">Explanation</a><br>Architecture, rationale, and design choices.</td>
</tr>
<tr>
<th>Working</th>
<td><a href="https://github.com/wrhalpin/GNAT/blob/main/docs/how-to/README.md">How-to guides</a><br>Task-focused procedures and recipes.</td>
<td><a href="https://github.com/wrhalpin/GNAT/blob/main/docs/reference/README.md">Reference</a><br>Exact technical behavior, config, and interfaces.</td>
<td><a href="how-to/">How-to guides</a><br>Task-focused procedures and recipes.</td>
<td><a href="reference/">Reference</a><br>Exact technical behavior, config, and interfaces.</td>
Comment on lines +65 to +71
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links now point to directory roots (e.g., "tutorials/") but the target directories currently only contain README.md (no index.md/index.html). Unless the Pages build enables README→index behavior, these will 404. Consider adding an explicit index page in each section directory (or otherwise ensuring README.md is published as the directory index) so the links resolve reliably.

Copilot uses AI. Check for mistakes.
</tr>
</table>
</section>
Expand Down
Loading