Skip to content

Commit fbdf6d4

Browse files
committed
Update to new repo structure
1 parent a62a9e8 commit fbdf6d4

17 files changed

+368
-320
lines changed

.gitattributes

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.github export-ignore
55
docs export-ignore
66
screenshots export-ignore
7-
# Adjust GitHub linguist settings:
8-
ANKIWEB.md linguist-documentation
9-
README.md linguist-documentation
7+
addon.json export-ignore
8+
# Adjust GitHub linguist settings
9+
## Vendored
10+
src/*/libaddon linguist-vendored
11+
src/*/_vendor linguist-vendored

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
patreon: glutanimate
3+
ko_fi: glutanimate

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
#### Problem description
11+
12+
*Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?*
13+
14+
15+
#### Checklist
16+
17+
*Please replace the space inside the brackets with an **x** if the following items apply:*
18+
19+
- [ ] I've restarted Anki to see if it helps
20+
- [ ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
21+
- [ ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
22+
- [ ] I've tried to disable other add-ons to see if there are any interactions present
23+
- [ ] My issue disappears when I hold shift while starting Anki.
24+
- [ ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
25+
26+
27+
#### Information about your Anki set-up
28+
29+
*Please fill out the section corresponding with your Anki version:*
30+
31+
32+
##### If you are using Anki 2.1
33+
34+
*Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):*
35+
36+
```
37+
38+
```
39+
40+
41+
##### If you are using Anki 2.0
42+
43+
*Please open Anki, go to Help → About, find the two lines starting with `Version:` and `Qt`, and copy-paste them between the backticks below:*
44+
45+
```
46+
47+
```
48+
49+
*Please fill in details about your operating system (Windows/macOS/Linux, which version):*
50+
51+
- OS:
52+
- version:
53+
54+
*Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:*
55+
56+
57+
58+
#### Error message (if any)
59+
60+
*If you've received an error message, please copy and paste it between the backticks below:*
61+
62+
63+
```python
64+
65+
```
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
#### Checklist
11+
12+
*Please replace the space inside the brackets with an **x** if the following items apply:*
13+
14+
- [ ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
15+
- [ ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
16+
- [ ] I've checked if anyone else suggested this feature before by looking through the issue reports.
17+
18+
#### Problem case
19+
20+
*Is your feature request related to a problem? If so, please describe it here. E.g.: "My workflow is such and such, and this and that would help."*
21+
22+
23+
24+
#### Solution
25+
26+
*Concisely describe the solution you would like*
27+
28+
29+
*Concisely describe alternatives you've considered (if any)*
30+
31+
32+
33+
#### More information
34+
35+
*Additional context: Add any other context or screenshots about the feature request here.*

.github/ISSUE_TEMPLATE/question.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Question
3+
about: Ask a question about this project
4+
title: ''
5+
labels: 'question'
6+
assignees: ''
7+
8+
---
9+
10+
#### Checklist
11+
12+
*Please replace the space inside the brackets with an **x** if the following items apply:*
13+
14+
- [ ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
15+
- [ ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
16+
- [ ] I've checked if anyone else asked this question before by looking through the issue reports.
17+
18+
19+
#### Your question
20+
21+
*A clear and concise question about the add-on.*

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#### Description
2+
3+
*Concisely describe what the pull request is trying to achieve. If pertinent, link to an existing issue report, or briefly explain the problem the PR is meant to solve. Feel free to attach screenshots or other media for UI-related changes.*
4+
5+
6+
#### Checklist:
7+
8+
*Please replace the space inside the brackets with an **x** and fill out the ellipses if the following items apply:*
9+
10+
- [ ] I've read and understood the [contribution guidelines](./CONTRIBUTING.md)
11+
- [ ] I've tested my changes against at least one of the following [Anki builds](https://apps.ankiweb.net/#download):
12+
- [ ] Latest standard Anki 2.1 binary build [required for Anki-compatible 2.1 add-ons]
13+
- [ ] Latest alternative Anki 2.1 binary build
14+
- [ ] Latest Anki 2.0 binary build [required for Anki 2.0-compatible add-ons]
15+
- [ ] I've tested my changes on at least one of the following platforms:
16+
- [ ] Linux, version:
17+
- [ ] Windows, version:
18+
- [ ] macOS, version:
19+
- [ ] My changes potentially affect non-desktop platforms, of which I've tested:
20+
- [ ] AnkiMobile, version:
21+
- [ ] AnkiDroid, version:
22+
- [ ] AnkiWeb

.gitignore

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
# Linux FM
2+
.hidden
3+
.directory
14
# Byte-compiled / optimized / DLL files
25
*.pyo
36
*.pyc
47
__pycache__/
5-
# Anki
6-
src/*/meta.json
7-
# Build files
8-
build
9-
src/*/forms*
10-
*-anki2*.zip
118
# Python
129
.python-version
1310
.mypy_cache/
@@ -19,22 +16,32 @@ venv/
1916
ENV/
2017
env.bak/
2118
venv.bak/
19+
# Javascript
20+
node_modules
2221
# IDEs
2322
*.sublime-project
2423
*.sublime-workspace
2524
.sublime-backup/
2625
.idea/
2726
.vscode/
27+
# Build files
28+
build
29+
src/*/gui/forms/anki*
30+
src/*/gui/forms/LICENSE*
31+
src/*/gui/resources/anki*
32+
src/*/gui/resources/LICENSE*
33+
*-anki2*.zip
34+
# Dev tools
35+
.bumpversion.cfg
36+
labels.toml
2837
# Temp
2938
.gitold
3039
obsolete
3140
research
32-
# Linux FM
33-
.hidden
34-
.directory
35-
# Docs and tools
36-
docs/specs.md
37-
docs/todo.md
38-
docs/*.todo
39-
docs/description.html
40-
tools/test.py
41+
# Docs
42+
todo
43+
# Assets
44+
resources/icons/optional
45+
# Anki
46+
src/*/meta.json
47+
src/*/manifest.json

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changelog
2+
3+
All notable changes to Syntax Highlighting will be documented here. You can click on each release number to be directed to a detailed log of all code commits for that particular release. The download links will direct you to the GitHub release page, allowing you to manually install a release if you want.
4+
5+
If you enjoy Syntax Highlighting, please consider supporting my work on Patreon, or by buying me a cup of coffee :coffee::
6+
7+
<p align="center">
8+
<a href="https://www.patreon.com/glutanimate" rel="nofollow" title="Support me on Patreon 😄"><img src="https://glutanimate.com/logos/patreon_button.svg"></a>      <a href="https://ko-fi.com/X8X0L4YV" rel="nofollow" title="Buy me a coffee 😊"><img src="https://glutanimate.com/logos/kofi_button.svg"></a>
9+
</p>
10+
11+
:heart: My heartfelt thanks goes out to everyone who has supported this add-on through their tips, contributions, or any other means (you know who you are!). All of this would not have been possible without you. Thank you for being awesome!
12+
13+
## [Unreleased]
14+
15+
### Added
16+
17+
- Initial release of Syntax Highlighting
18+
19+
[Unreleased]: https://github.com/glutanimate/syntax-highlighting/compare/v0.0.0...HEAD
20+
21+
-----
22+
23+
The format of this file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## How to Contribe to this Project
2+
3+
Please see the [common contribution guidelines](https://github.com/glutanimate/docs/blob/master/anki/add-ons/CONTRIBUTING.md#how-to-contribute-to-my-anki-add-ons) for my Anki add-ons.
4+
5+
Thanks!

0 commit comments

Comments
 (0)