-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: switch markdown renderer [wip]
TODO: link targets need to be rewritten ("./foo.md" works on GitHub, but we'll need "/docs/foo"). Also, the path prefix should be injected into Handler(), which means deferring the markdown rendering to the start of the server.
- Loading branch information
Showing
9 changed files
with
185 additions
and
83 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ .Title }}</title> | ||
|
||
<link rel="stylesheet" href="/assets/bootstrap-5.1.3.min.css"> | ||
<style>{{ .CSS }}</style> | ||
</head> | ||
|
||
<body> | ||
<div id="app" class="pb-5"> | ||
<nav class="navbar navbar-light navbar-expand-sm bg-light"> | ||
<div class="container-fluid"> | ||
<a href="https://github.com/digineo/texd" class="navbar-brand">texd</a> | ||
|
||
<ul class="navbar-nav me-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="/">Play</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link active" href="/docs">Documentation</a> | ||
</li> | ||
</ul> | ||
|
||
<span class="navbar-text"> | ||
{{ .Version }} | ||
</span> | ||
</div> | ||
</nav> | ||
|
||
<div class="container"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
file: index.md | ||
file: README.md | ||
children: | ||
- file: operation-modes.md | ||
- file: cli-options.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.