Skip to content

Commit 8580c5c

Browse files
committed
hugo
1 parent 2622ed4 commit 8580c5c

17 files changed

+143
-1726
lines changed

.github/workflows/pages.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ jobs:
2828
uses: actions/checkout@v3
2929
- name: Setup Pages
3030
uses: actions/configure-pages@v1
31-
- run: |
32-
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
33-
cargo binstall --no-confirm mdbook-mermaid mdbook
34-
mdbook build
31+
- name: Setup Hugo
32+
uses: peaceiris/actions-hugo@v3
33+
with:
34+
hugo-version: '0.131.0'
35+
extended: true
36+
- run: hugo --minify
3537
- name: Upload artifact
3638
uses: actions/upload-pages-artifact@v1
3739
with:
38-
path: ./book
40+
path: ./public
3941

4042
# Deployment job
4143
deploy:

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/book
1+
/public

.hugo_build.lock

Whitespace-only changes.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Xin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

SUMMARY.md

-12
This file was deleted.

book.toml

-16
This file was deleted.

content/_index.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: mmmray documents
3+
---
4+
5+
Random articles I ([mmmray](https://github.com/mmmray)) wrote.
6+
7+
The site is available in two forms: As a bunch of [Markdown files on GitHub](https://github.com/mmmray/wall-documents), and [as a real website](https://mmmray.github.io/wall-documents/).
8+
9+
All articles are licensed as
10+
[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/deed.en). If you have a
11+
translation I am happy to link or host it here.
12+
13+
{{< cards >}}
14+
{{< card link="blog" title="Blog" icon="book-open" >}}
15+
{{< card link="https://github.com/mmmray" title="GitHub" icon="github" >}}
16+
{{< /cards >}}
17+

0rtt.md renamed to content/blog/0rtt.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# 0-RTT
2-
3-
*2024-08-14*
1+
---
2+
title: 0-RTT
3+
date: 2024-08-14
4+
aliases:
5+
- /0rtt.html
6+
---
47

58
Any given v2ray config does not just "have" 0-RTT or not have it.
69

content/blog/_index.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Blog
3+
toc: true
4+
---
5+
6+
<div style="text-align: center; margin-top: 1em;">
7+
{{< hextra/hero-badge link="index.xml" >}}
8+
<span>RSS Feed</span>
9+
{{< icon name="rss" attributes="height=14" >}}
10+
{{< /hextra/hero-badge >}}
11+
</div>

panels.md renamed to content/blog/panels.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Issues with Xray Panels
2-
3-
*2024-07-30*
1+
---
2+
title: Issues with Xray Panels
3+
date: 2024-07-30
4+
aliases:
5+
- /panels.html
6+
---
47

58
I've been observing the Xray bugtracker for a while now, and I see some
69
recurring issues with users of popular Xray panels that are directly caused by

transports.md renamed to content/blog/transports.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Transports
2-
3-
*2024-08-01*
1+
---
2+
title: Transports
3+
date: 2024-08-01
4+
aliases:
5+
- /transports.html
6+
---
47

58
Translations: [Russian](https://marzban.dev/blog/about_transport/)
69

go.mod

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/imfing/hextra-starter-template
2+
3+
go 1.21
4+
5+
require github.com/imfing/hextra v0.8.1 // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/imfing/hextra v0.8.1 h1:HPeuyBTxaG7o2PHT9XRgFTVbCVGhJbZ0t7PjApA32F8=
2+
github.com/imfing/hextra v0.8.1/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=

hugo.yaml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Hugo configuration file
2+
title: mmmray documents
3+
baseURL: https://mmmray.github.io/wall-documents/
4+
5+
# import hextra as module
6+
module:
7+
imports:
8+
- path: github.com/imfing/hextra
9+
10+
outputs:
11+
home:
12+
- html
13+
- rss
14+
section:
15+
- html
16+
- rss
17+
taxonomy:
18+
- html
19+
term:
20+
- html
21+
22+
markup:
23+
# allow raw html
24+
goldmark:
25+
renderer:
26+
unsafe: true
27+
28+
# enable hextra syntax highlight
29+
highlight:
30+
noClasses: false
31+
32+
menu:
33+
main:
34+
- name: Blog
35+
pageRef: /blog
36+
weight: 1
37+
params:
38+
type: blog
39+
- name: GitHub
40+
weight: 3
41+
url: "https://github.com/mmmray"
42+
params:
43+
icon: github
44+
45+
params:
46+
navbar:
47+
displayTitle: true
48+
displayLogo: false
49+
50+
footer:
51+
enable: true
52+
displayCopyright: true
53+
displayPoweredBy: true
54+
width: normal
55+
56+
displayUpdatedDate: true
57+
58+
editURL:
59+
enable: true
60+
base: "https://github.com/mmmray/wall-documents/edit/main/content"

i18n/en.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
copyright: "© 2024 mmmray"

mermaid-init.js

-35
This file was deleted.

mermaid.min.js

-1,648
This file was deleted.

0 commit comments

Comments
 (0)