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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/themes/hugo-theme-learn"]
path = docs/themes/hugo-theme-learn
url = https://github.com/matcornic/hugo-theme-learn.git
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ Success : (Expr (Term (Term (Num "10")) "*" (Num "(" (Expr (Expr (Term (Num "20"
$ echo "10 * (20 + 30)" | cargo run -p example_prebuild
Success : (Expr (Term (Term (Num "10")) "*" (Num "(" (Expr (Expr (Term (Num "20"))) "+" (Term (Num "30"))) ")")))
```

## Docs

```
$ make -C docs run
```

⇒ http://localhost:1313
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public/
*.lock
19 changes: 19 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FILEPATH =

# Publish (./docs/public)
publish:
hugo

# Run (http://localhost:1313)
run:
hugo server

# New Chapter
# - make chapter FILEPATH="chapter1/_index.md"
chapter:
hugo new --kind chapter $(FILEPATH)

# New Article
# - make article FILEPATH="chapter1/article.md"
article:
hugo new $(FILEPATH)
6 changes: 6 additions & 0 deletions docs/archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

28 changes: 28 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title = "Copager Document"
theme = "hugo-theme-learn"
languageCode = "ja-JP"
defaultContentLanguage = "ja"
canonifyurls = true
relativeURLs = true

[outputs]
home = ["HTML", "JSON"]

[params]
title = "Copager"
description = "Copager Document"
titleSeparator = "|"
themeVariant = "blue"
disableLandingPageButton = true
disableShortcutsTitle = true

[Languages]
[Languages.ja]
weight = 1
languageName = "日本語"

[[Languages.ja.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> Copager"
identifier = "github-copager"
url = "https://github.com/Tsukuba-Programming-Lab/Copager"
weight = 1
31 changes: 31 additions & 0 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "トップページ"
date: 2024-09-02T00:00:00Z
---

# Copager Document

![VERSION-Badge](https://img.shields.io/github/v/release/Tsukuba-Programming-Lab/Copager?style=for-the-badge)

### 関連リンク

- [Github - Copager](https://github.com/Tsukuba-Programming-Lab/Copager)

### ライセンス

#### Copager

Copyright 2024 Yuta NAKAGAMI\
Copyright 2024 Tsukuba-Programming-Lab

#### lynx

Copyright (c) 2021 James Panther (https://jamespanther.com)

#### hugo-theme-learn

Copyright (c) 2014 Grav\
Copyright (c) 2016 MATHIEU CORNIC\
Copyright (c) 2017 Valere JEANTET

[LICENSE.md](https://github.com/matcornic/hugo-theme-learn/blob/master/LICENSE.md)
8 changes: 8 additions & 0 deletions docs/layouts/partials/logo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<a href="/">
<b style="
font-size: 3em;
color: #fff;
">
Copager
</b>
</a>
1 change: 1 addition & 0 deletions docs/themes/hugo-theme-learn
Submodule hugo-theme-learn added at 320253