Skip to content

Commit 6823706

Browse files
committed
Initial version
0 parents  commit 6823706

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+8372
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# Allow only one concurrent deployment, skipping runs queued between the run
9+
# in-progress and latest queued.
10+
# However, do NOT cancel in-progress runs as we want to allow these production
11+
# deployments to complete.
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
permissions: read-all
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Deno
25+
uses: denoland/setup-deno@v2
26+
with:
27+
deno-version: v2.x
28+
cache: true
29+
30+
- name: Build site
31+
run: deno task build
32+
33+
- name: Upload artifact
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: './site'
37+
38+
deploy:
39+
environment:
40+
name: github-pages
41+
url: ${{ steps.deployment.outputs.page_url }}
42+
runs-on: ubuntu-latest
43+
needs: build
44+
permissions:
45+
id-token: write
46+
pages: write
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/site

LICENSES/CC-BY-4.0.txt

Lines changed: 156 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Plotance Trademark Policy
2+
3+
Last updated: 2025-06-14
4+
5+
This document describes the trademark policy for the Plotance project and its associated logo (“the Plotance Marks”).
6+
7+
8+
## 1. Purpose
9+
10+
The Plotance name and logo are important identifiers for the community and users. This policy aims to enable broad community use while reducing confusion and protecting the integrity of the project.
11+
12+
13+
## 2. The Plotance Marks
14+
15+
This policy covers the following trademarks:
16+
17+
- The word “Plotance”, in any style or capitalization
18+
- The Plotance logo:
19+
- ![Plotance logo for light background](https://plotance.github.io/logo.svg)
20+
- ![Plotance logo for dark background](https://plotance.github.io/logo_white.svg)
21+
22+
## 3. Permitted Uses (No Written Permission Needed)
23+
24+
You may use the Plotance Marks, **without prior written permission**, for the following purposes:
25+
26+
- **Referential Use:** To refer to, describe, or link to the official Plotance open source project, website, documentation, application programs, or compatible/derivative projects. Example: “This tool is compatible with Plotance.”
27+
28+
- **Community and Educational Use:** To talk about Plotance in news articles, blog posts, talks, or educational materials, as long as your use does not imply endorsement or official affiliation.
29+
30+
31+
## 4. Prohibited Uses (Always Require Explicit Permission)
32+
33+
**You may NOT**, without explicit written permission:
34+
35+
- Use the Plotance Marks (or confusingly similar names/logos) in the name, logo, or branding of your own product, service, organization, company, domain name, or social media handle/page.
36+
Examples: “Plotance Pro”, “Plotance for Business”, “plotance-tools.com”, “@plotance-support” (Twitter handle)
37+
38+
- Use or modify the Plotance logo as part of another logo, or make derivative logos based on it.
39+
40+
- Sell merchandise using the Plotance Marks (t-shirts, mugs, etc.) or otherwise use them for commercial purposes.
41+
42+
- Use the Plotance Marks in a way that suggests official endorsement, sponsorship, or affiliation, unless you have received explicit permission.
43+
44+
45+
## 5. Proper Use Guidelines
46+
47+
- **Do not alter the Plotance Marks.** Please use official assets as published by the project.
48+
- **Keep clear space** around the logo and do not combine it with other images or marks.
49+
- **Include attribution** when practical:
50+
51+
> Plotance and the Plotance logo are trademarks of the Plotance project. This project is not endorsed by, or affiliated with, Plotance.
52+
53+
- **Avoid misleading usage:** Never use the Marks in a way that could cause confusion about whether your project/service is officially supported or produced by Plotance.
54+
55+
56+
## 6. Questions, Permission Requests, and Reporting Abuse
57+
58+
If you wish to:
59+
60+
- Use the Plotance Marks in a way not covered here,
61+
- Request explicit permission,
62+
- Report misuse,
63+
64+
Please email: [email protected]
65+
66+
67+
## 7. Policy Updates
68+
69+
We may revise this policy in the future as the project evolves. All changes will be published at https://plotance.github.io/trademark_policy.html.

LICENSES/MIT.txt

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

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2025 Plotance contributors <https://plotance.github.io/>
3+
4+
SPDX-License-Identifier: CC-BY-4.0
5+
-->
6+
7+
The Plotance website.
8+
9+
Run `deno task build` to build the HTML. The result will be in the `site` directory.
10+
11+
The pipeline transforms HTML files in the `src` directory using a series of rehype transformations.
12+
13+
The source files are written in HTML. Do not fear writing HTML. HTML is your friend.
14+
15+
All `*.ts` and `*.tsx` files are licensed under MIT license. Other files are licensed under `CC-BY-4.0`. See LICENSES directory for more details.

REUSE.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version = 1
2+
# https://reuse.software/spec-3.2/
3+
4+
[[annotations]]
5+
path = [
6+
".gitignore",
7+
"REUSE.toml",
8+
"README.md",
9+
"deno.json",
10+
"deno.lock",
11+
"**/*.html",
12+
"**/*.css",
13+
"**/*.svg",
14+
"**/*.png",
15+
"**/*.ico",
16+
"**/*.md",
17+
"**/*.csv",
18+
"**/*.csv.gz",
19+
"**/*.pptx",
20+
"**/*.yml",
21+
"**/*.yaml",
22+
"**/*.rb",
23+
]
24+
SPDX-FileCopyrightText = "2025 Plotance contributors <https://plotance.github.io/>"
25+
SPDX-License-Identifier = "CC-BY-4.0"
26+
27+
28+
[[annotations]]
29+
path = [
30+
"src/favicon.svg",
31+
"src/favicon.ico",
32+
"src/apple-touch-icon.png",
33+
"src/logo.svg",
34+
"src/logo_white.svg",
35+
"src/thumbnail.png",
36+
]
37+
SPDX-FileCopyrightText = "2025 Plotance contributors <https://plotance.github.io/>"
38+
SPDX-License-Identifier = "LicenseRef-PlotanceTrademarks"

deno.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"tasks": {
3+
"build": "rm -rf site && deno --allow-read=src,template,site --allow-write=site --allow-env=LOG_TOKENS,LOG_STREAM main.ts",
4+
"format": "find . '(' -name '*.tsx' -or -name '*.ts' ')' -exec prettier --write '{}' '+'"
5+
},
6+
"compilerOptions": {
7+
"jsx": "react-jsx",
8+
"jsxImportSource": "hastscript"
9+
},
10+
"imports": {
11+
"@std/fs": "jsr:@std/fs@^1.0.17",
12+
"@std/path": "jsr:@std/path@^1.0.9",
13+
"hast": "npm:hast@^1.0.0",
14+
"hast-util-from-html": "npm:hast-util-from-html@^2.0.3",
15+
"hast-util-select": "npm:hast-util-select@^6.0.4",
16+
"hast-util-to-string": "npm:hast-util-to-string@^3.0.1",
17+
"hastscript": "npm:hastscript@^9.0.1",
18+
"hastscript/jsx-runtime": "npm:hastscript@^9.0.1/jsx-runtime",
19+
"rehype": "npm:rehype@^13.0.2",
20+
"rehype-format": "npm:rehype-format@^5.0.1",
21+
"rehype-stringify": "npm:rehype-stringify@^10.0.0",
22+
"stringify-entities": "npm:stringify-entities@^4.0.4",
23+
"to-vfile": "npm:to-vfile@^8.0.0",
24+
"unist": "npm:unist@^0.0.1",
25+
"unist-util-visit": "npm:unist-util-visit@^5.0.0",
26+
"vfile": "npm:vfile@^6.0.3",
27+
"yaml": "npm:yaml@^2.8.0"
28+
}
29+
}

0 commit comments

Comments
 (0)