Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment PR #502

Draft
wants to merge 386 commits into
base: empty
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
386 commits
Select commit Hold shift + click to select a range
3dfe00f
[documentation]: Review peer management
outoftardis May 25, 2022
2dac246
Apply suggestions from code review
outoftardis May 30, 2022
b4c2297
[documentation]: Review the Triggers chapter (#65)
outoftardis Jun 7, 2022
520e5dd
[documentation]: Review the Queries chapter
outoftardis Jun 2, 2022
eba668d
Update src/guide/advanced/queries.md
outoftardis Jun 2, 2022
ac6bfb0
Update src/guide/advanced/queries.md
outoftardis Jun 7, 2022
15c3967
Review Bash chapter
outoftardis Jun 7, 2022
3e0bf47
Review JS chapter
outoftardis Jun 7, 2022
b583fd3
Review Kotlin chapter
outoftardis Jun 7, 2022
86855a5
Review Python chapter
outoftardis Jun 7, 2022
1abc9b8
Review Rust chapter
outoftardis Jun 7, 2022
e8d3bbf
Add minor changes to lang-specific chapters
outoftardis Jun 7, 2022
158789a
Apply suggestions from code review
outoftardis Jun 7, 2022
4de14b2
Fix formatting
outoftardis Jun 7, 2022
459743e
[documentation]: Review the Iroha 2 vs. Iroha 1 chapter
outoftardis Jun 2, 2022
f295b73
Rephrase the intro
outoftardis Jun 2, 2022
e8f2aea
[documentation]: Review Installation chapter
outoftardis Jun 2, 2022
985f0eb
Apply suggestions from code review
outoftardis Jun 2, 2022
c7eebf2
Fix formatting
outoftardis Jun 2, 2022
f4f4ded
Apply suggestions from code review
outoftardis Jun 8, 2022
b513876
Revert changes
outoftardis Jun 8, 2022
88cd287
Fix formatting
outoftardis Jun 8, 2022
6ce8ed2
[documentation]: Review Iroha on bare metal chapter
outoftardis Jun 7, 2022
2d3215e
Apply suggestions from code review
outoftardis Jun 7, 2022
70ebd66
Fix formatting
outoftardis Jun 7, 2022
cda8e50
Apply suggestions from code review
outoftardis Jun 8, 2022
fa9d610
Revert changes (quotation mark)
outoftardis Jun 8, 2022
e3d05d8
Fix formatting
outoftardis Jun 8, 2022
3fe53d7
[CI]: target `main` branch in GitHub workflows
0x009922 Jun 16, 2022
abcc32e
Merge pull request #72 from 0x009922/fix-workflows
0x009922 Jun 16, 2022
dd12623
#73, #60: Update info about roles, mark statements about the future (…
outoftardis Jul 6, 2022
59d3f57
Fix docker-compose command
6r1d Jul 8, 2022
4701401
[docs]: update version note in js guide (#74)
0x009922 Jul 11, 2022
2c3af5a
Merge pull request #80 from 6r1d/main
6r1d Jul 11, 2022
4f463c3
Add FindTriggersByDomainId query (#75)
outoftardis Jul 11, 2022
0740e68
[docs] Update JS examples
6r1d Jul 27, 2022
26e4fd4
Merge pull request #91 from 6r1d/main
6r1d Jul 27, 2022
c2b69fa
update all deps, migrate to vitepress@1
0x009922 Jun 16, 2022
72bb16d
[misc]: update deps, up to vitepress alpha 4
0x009922 Jul 9, 2022
3401fd0
[style]: update brand colors
0x009922 Jul 9, 2022
c18b654
[feat]: generate favicon
0x009922 Aug 1, 2022
44623a2
[docs] #79: Add block queries
outoftardis Aug 2, 2022
4ef4edd
Update parameter
outoftardis Aug 2, 2022
b2dc26f
Fix formatting
outoftardis Aug 2, 2022
304e6ca
Add versioning boxes
outoftardis Aug 2, 2022
32560c2
[docs] update JS code samples
outSH Jul 29, 2022
919e6ed
[docs] Add a Kagami note
6r1d Jul 28, 2022
5a3688e
Update code snippet in Rust guide
outoftardis Aug 5, 2022
a39908d
Add Victor as a codeowner (#103)
outoftardis Aug 9, 2022
f8f1db5
[docs] #97: Add a note about compatibility of Iroha v1/v2 (#102)
outoftardis Aug 9, 2022
5c55b86
[docs] #96: Add a topic about permissions (#100)
outoftardis Aug 11, 2022
950a1c4
[docs] #59: Update statements about triggers
outoftardis Aug 10, 2022
42295df
[docs] #95: Update Python asset metadata example (#104)
outoftardis Aug 11, 2022
7314da0
[docs] #107: Add FindAllPermissionTokenDefinitions query
outoftardis Aug 16, 2022
d902736
[docs] #105: Add a section on domain-scoped triggers (#112)
outoftardis Aug 16, 2022
bd6328d
[docs] #39, #83, #90: Update WASM/FFI guide (#114)
outoftardis Aug 22, 2022
8213cd2
[docs] #116: Add openssl installation instructions (#118)
outoftardis Aug 23, 2022
e0287a5
[docs] #120: Update JS installation instruction (#122)
outoftardis Aug 23, 2022
513cb67
[docs]: Update install instructions (#117)
outoftardis Aug 23, 2022
0f68bc6
[docs]: Update JS install (#123)
outoftardis Aug 24, 2022
507daa3
[docs] #121, #125: Update JS guide (#126)
outoftardis Aug 25, 2022
a2e450b
[docs] #129: Add a note about iroha-javascript repo
outoftardis Aug 26, 2022
c6679c9
Apply suggestions from code review
appetrosyan May 17, 2022
5155b23
[reword]: Simplify and remove unclear clarifications and old info
appetrosyan May 17, 2022
7cd1338
[version_bump]: Fix major outdated versions in tutorial.
appetrosyan May 17, 2022
6671dad
[version_bump]: Update rust tutorial.
appetrosyan May 17, 2022
5b554a4
Apple @outoftardis suggestions
appetrosyan May 17, 2022
aff43e7
[ci]: Create `MAINTAINERS.md`
appetrosyan Aug 28, 2022
881a260
[docs] #127: Fix git clone in Python guide
outoftardis Aug 26, 2022
a2382d0
[docs]: Add info about metadata and sorting
outoftardis Aug 30, 2022
544fef4
[docs] #125: Update JS guide
outoftardis Aug 25, 2022
270a2e8
Add instructions
outoftardis Aug 25, 2022
c6ce6d9
Update jpg
outoftardis Aug 25, 2022
565577d
Update markup
outoftardis Aug 25, 2022
3884245
Apply suggestions from code review
outoftardis Aug 25, 2022
35f93b2
Fix spelling
outoftardis Aug 22, 2022
f6e50db
[docs] #129: Add a note about iroha-javascript repo
outoftardis Aug 26, 2022
3a619cd
[fix]: broken link preventing deploy
appetrosyan Aug 30, 2022
42f17c5
[fix]: Update index, rust guide, and install chapters (commit history…
outoftardis Aug 30, 2022
1e5ffb6
[docs] #141: Add mentions of other docker-compose options
outoftardis Aug 30, 2022
448dad4
Fix formatting
outoftardis Aug 30, 2022
f81e7f2
Fix JS guide (commit history mixup)
outoftardis Aug 30, 2022
d87df75
Address comments
outoftardis Aug 30, 2022
db07d95
[docs] #144: Fix Python script
outoftardis Aug 31, 2022
018466f
[fix]: Fix typo in Bash guide
outoftardis Aug 31, 2022
3d13ae8
Fix output
outoftardis Sep 1, 2022
394b132
Hide output
outoftardis Sep 1, 2022
1592f50
[docs] #85: Add UML diagrams, create a new chapter about objects (#148)
outoftardis Sep 6, 2022
de7e532
[ci]: run `build` in PR CI as well (#150)
0x009922 Sep 6, 2022
b07d88b
[docs] #111: Add info about permission validators (#151)
outoftardis Sep 8, 2022
b51a9dd
[docs] #160: Update links (#164)
outoftardis Sep 12, 2022
d9e22fb
[docs]: Change default BLOCK_STORE_PATH location
outoftardis Sep 6, 2022
7414be0
[fix]: Fix a typo
outoftardis Sep 12, 2022
6fa2935
[docs]: Update FFI chapter (#158)
outoftardis Sep 12, 2022
d8374a8
[docs] #166: Add the location of build artifacts
outoftardis Sep 13, 2022
b5ecf41
[docs] #85: Add diagrams for triggers and filters (#155)
outoftardis Sep 15, 2022
0499867
[docs]: remove obsolete comment
0x009922 Sep 15, 2022
316c8f0
[docs]: Add a link to the test network
outoftardis Sep 13, 2022
2d9437b
[docs] #162: Update Wasm chapter
outoftardis Sep 13, 2022
966be70
[docs] #170: Update client config page (#176)
outoftardis Sep 19, 2022
dfc9863
[docs] #161: Add more info about ISI
outoftardis Sep 15, 2022
1eccfb1
Apply suggestions from code review
outoftardis Sep 15, 2022
e77ca64
Apply suggestions from code review
outoftardis Sep 15, 2022
8653a1e
Update src/guide/advanced/intro.md
outoftardis Sep 15, 2022
9188081
Update src/guide/advanced/isi.md
outoftardis Sep 15, 2022
6cc7482
Fix formatting
outoftardis Sep 15, 2022
c95b072
Apply suggestions from @WRRicht3r
outoftardis Sep 15, 2022
9ee3789
[fix] #146: update snippets in python section
Sep 7, 2022
31c4829
[docs] #89: Add scripts, Vue component, parser extension, update tuto…
6r1d Sep 14, 2022
3c643a6
[docs] #81: Add example on transferring assets to Bash guide (#153)
outoftardis Sep 29, 2022
ad54fca
[docs]: update JavaScript tutorial according to the upcoming SDK v3 (…
0x009922 Oct 1, 2022
8c1d95b
[ci]: boost CI with cache; refactor formatting and lint (#178)
0x009922 Oct 3, 2022
bdb15f6
[docs] #191: Update triggers page
outoftardis Oct 6, 2022
fbbb13e
Update src/guide/advanced/triggers.md
outoftardis Oct 7, 2022
17e8911
[docs] #197: Optimize the number of steps on the build and install pa…
AlexStroke Oct 13, 2022
a83013b
[docs] #174: Update documentation after RC-9 (LTS) (#195)
outoftardis Oct 17, 2022
7fe2ec4
[docs] Add a missing cd command (#201)
6r1d Oct 18, 2022
6d83453
[docs] #182: Update peer config page
outoftardis Oct 17, 2022
aeb1bb0
[docs]: Move files from main repo
outoftardis Oct 18, 2022
a28b106
Fix links
outoftardis Oct 18, 2022
2bac1ee
Update toc
outoftardis Oct 18, 2022
89e75c3
Update src/guide/glossary.md
outoftardis Oct 19, 2022
2f4f726
Address comments
outoftardis Oct 19, 2022
ba9d2d4
[docs]: #149, #180: Add JS examples (block stream subscription, asset…
outoftardis Oct 18, 2022
2d9702c
[docs] #193: Update instructions page, add a page on modes
outoftardis Oct 18, 2022
8cee36f
Apply suggestions from code review
outoftardis Oct 19, 2022
e750ace
Apply suggestion
outoftardis Oct 19, 2022
5ce42dc
FFI doc update
mversic Oct 18, 2022
cc6db01
Apply suggestions from code review
outoftardis Oct 19, 2022
253aaf4
Apply suggestions from code review
outoftardis Oct 19, 2022
f403561
[docs]: Update FFI chapter
outoftardis Oct 19, 2022
09565a3
Apply suggestions from code review
outoftardis Oct 19, 2022
1f876a6
Fix formatting
outoftardis Oct 19, 2022
4bef66b
Add a Kotlin snapshot selection section (#210)
6r1d Oct 24, 2022
a3f60f9
Redefine a Kotlin configuration (#212)
6r1d Oct 24, 2022
c7feb4f
Redefine a Kotlin configuration (#212) (#214)
6r1d Oct 25, 2022
97beef9
[docs] #159, #171, #179: Update config sections (#213)
outoftardis Oct 28, 2022
e8960ac
[docs] #216: Add client_cli subcommands (#217)
outoftardis Oct 28, 2022
9fcb1ab
[docs] #221: Add json subcommand (#222)
outoftardis Nov 2, 2022
5dc82de
[docs] #218: Document Iroha versions (#220)
outoftardis Nov 3, 2022
10848df
[docs] #190: Document MetadataChanged (#223)
outoftardis Nov 9, 2022
6d18045
[docs]: Create a troubleshooting section (#219)
outoftardis Nov 9, 2022
7ee9342
[docs] #215: Update asset queries (#230)
outoftardis Nov 21, 2022
34a7714
[docs] #227: Update pure Java example (#228)
outoftardis Nov 21, 2022
17c6ec9
[docs] #226: Update `permission_token.json` example (#229)
outoftardis Nov 21, 2022
cadebed
[docs] #175: Split tutorial and reference documentation (#231)
outoftardis Nov 30, 2022
9f39616
[refactor]: introduce full-featured code groups (#224)
0x009922 Dec 6, 2022
6b3d14d
[refactor] #225: redesign snippets workflow (#232)
0x009922 Dec 19, 2022
04fe6cb
[fix]: sample region in `lorem.rs` (#233)
0x009922 Dec 19, 2022
2b9e79d
[docs]: Add snippets for config files (#236)
outoftardis Dec 22, 2022
aac12ce
[fix]: Update config.ts (#238)
outoftardis Dec 22, 2022
8f4aa13
[docs] #2579: Link to Iroha 1 documentation (#235)
outoftardis Dec 23, 2022
42f4e62
[docs] Update links #239 (#240)
6r1d Dec 28, 2022
d827a7e
[docs] #237: Add instructions on kagami config generation (#243)
outoftardis Dec 29, 2022
afbc663
[docs] Add genesis troubleshooting #241 (#242)
6r1d Jan 5, 2023
ce81fc7
[docs] Extend the glossary (#245)
6r1d Jan 9, 2023
1654933
[docs]: Update troubleshooting section, fix formatting (#247)
outoftardis Jan 10, 2023
04ba142
[docs]: use snippets from `hyperledger/iroha-javascript` (#234)
0x009922 Jan 20, 2023
14a2fda
[docs] #249: Add the support channels (#250)
6r1d Jan 23, 2023
49904b7
[docs]: Update snippets (#246)
outoftardis Jan 23, 2023
e91e510
[docs] #252, #256: Update doc structure, add new chapters (#259)
outoftardis Feb 22, 2023
1512c89
Update VitePress and other dependencies (#265)
0x009922 Feb 27, 2023
2c037b0
[documentation]: use ANSI code snippet in Quick Start guide (#269)
0x009922 Feb 27, 2023
443c03d
[documentation]: fix small outdated info in JS guide (#270)
0x009922 Feb 27, 2023
ab21082
[style]: use code-format for queries in Permissions guide (#272)
0x009922 Mar 1, 2023
767751c
[style]: format query names as code (#271)
0x009922 Mar 1, 2023
917b8d0
[docs] #261: Update Bash tutorial: key pair generation (#264)
outoftardis Mar 2, 2023
51f0f5e
[docs] #267: Update sh-lang code blocks (#268)
outoftardis Mar 3, 2023
fe57d24
Add java snippets (#278)
outoftardis Mar 9, 2023
5760838
[feature]: feedback form (#277)
0x009922 Mar 15, 2023
d27600b
[fix] #143: update Algolia api key (#283)
0x009922 Mar 15, 2023
01ef9bf
[fix]: fix snippet sources revisions (#282)
0x009922 Mar 16, 2023
05c3ddc
[chore]: change feedback form url (#284) (#285)
6r1d Mar 17, 2023
b73c0f2
[feature]: link `api_spec` from the core repo
0x009922 Mar 17, 2023
5fdbbcb
[fix]: exclude `snippets/*.md` from documentation
0x009922 Mar 17, 2023
555224c
[fix]: rewrite relative links in `api_spec`, fix dead links
0x009922 Mar 17, 2023
c8936d1
Update src/api/index.md
0x009922 Mar 17, 2023
930d015
Apply suggestions from code review
0x009922 Mar 17, 2023
f554ebf
[fix]: re-write `api_spec` title
0x009922 Mar 17, 2023
16ddc5e
[chore] #289: add iroha_client_cli build link (#290)
6r1d Mar 20, 2023
5033385
[chore]: fix typo in path to `api_spec` on GitHub (#292)
0x009922 Mar 22, 2023
f4c8cba
[chore] #295: add XDG specification link
6r1d Mar 23, 2023
19bbf59
[feature] #301: render data model schema (#303)
0x009922 Apr 5, 2023
0439aab
[docs] #313: update JS reference to `rc13` (#314)
0x009922 Apr 18, 2023
5251fb0
Corepack (#315)
0x009922 Apr 18, 2023
932f5b6
[chore]: Add Google Analytics (#244)
6r1d Apr 18, 2023
512ec18
[chore] Update Python SDK version warning (#312)
6r1d Apr 19, 2023
f86ef9d
[chore]: stylistic changes (#299)
6r1d Mar 24, 2023
3b6ad22
Restore new links to text
6r1d Apr 18, 2023
8a63d2e
Update Rust SDK version (related to #308) (#319)
6r1d Apr 21, 2023
7839b64
[feature]: add CSD-RTGS stub for link to Matthias
appetrosyan Apr 25, 2023
bc2415b
[refactor]: migrate from `windicss` to `unocss` (#328)
0x009922 Apr 26, 2023
1a62e8e
[feature] #307: support Mermaid diagrams (#325)
0x009922 May 3, 2023
e6445d2
[feature] #326: use local search (#327)
0x009922 May 3, 2023
b280572
Metadata and store assets (#318)
6r1d May 3, 2023
8883923
Pip update for wheel issue #320 (#322)
6r1d May 5, 2023
f01ef5d
Added account switching and resolved permission token collision in tr…
AlexStroke May 15, 2023
30710f3
updated Iroha 2 Client Setup, Domain search and registration
timofeevmd May 19, 2023
3e92fcd
changed params Iroha 2 Client Setup, Domain search and registration
May 19, 2023
0f1816f
update registering and minting assets (#346)
timofeevmd May 19, 2023
f2b092b
update registering an account (#345)
timofeevmd May 19, 2023
c0cfc67
Add instructions on transferring assets in Kotlin/Java guide (#347)
timofeevmd May 22, 2023
36b90fb
Add instructions on burning assets in Kotlin/Java guide (#348)
timofeevmd May 22, 2023
40a3a98
fix last commit (#349)
timofeevmd May 24, 2023
a8e2277
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 20, 2023
615ddec
[chore] Fix client config path (#358)
6r1d Aug 15, 2023
4cd26e7
Bump vite from 4.3.2 to 4.3.9
dependabot[bot] Aug 3, 2023
42b3584
Display the compatibility matrix (#356)
0x009922 Aug 24, 2023
f2b15b3
[chore]: #381 add @yamkovoy to the MAINTAINERS.md (#388)
6r1d Aug 28, 2023
fa8a9e2
#354: Fix output value (#393)
outoftardis Sep 7, 2023
197d1ef
#395: Explain the use of BASIC_AUTH in the docs (#396)
6r1d Sep 7, 2023
8b47120
#399: Add the definition of a peer to the glossary page (#400)
6r1d Sep 8, 2023
6afaa01
Typo: use heading 1 in "Consensus" (#403)
0x009922 Sep 11, 2023
e0d0150
[feature]: support TeX math with KaTeX (#404)
0x009922 Sep 11, 2023
9bc0f28
[feature] #306: Validate links post-build (#405)
0x009922 Sep 14, 2023
a96af16
#406: Remove as Identifiable from examples (#407)
outoftardis Sep 14, 2023
114db71
[feature] #88: Add CI to automatically add labels (#408)
6r1d Sep 14, 2023
8cc468d
Service and theming update (#390)
0x009922 Sep 18, 2023
e774cc0
[chore]: update `Burn<Trigger, u32>` warning (#409)
0x009922 Sep 25, 2023
1f903a6
[fix] Update best way to get client cli (#412)
AlexStroke Sep 26, 2023
ceeeb1c
Update rendered schema (#415)
0x009922 Sep 29, 2023
5b0eada
[docs] #414: move API specification to the docs (#417)
0x009922 Oct 9, 2023
e2c7f7b
Bump postcss from 8.4.27 to 8.4.31 (#420)
dependabot[bot] Oct 9, 2023
b5ec854
'Security' section with all topics (#416)
yamkovoy Oct 30, 2023
9c5b37c
[docs]: update `GET /status` reference (#422)
0x009922 Nov 1, 2023
b689fb6
Add `fetch_size` query parameter to torii-endpoints.md
Arjentix Nov 2, 2023
c01f77d
Restructure docs, add home page (#419)
outoftardis Nov 21, 2023
23c52f3
[refactor]: optimize scan, put TODO note
0x009922 Nov 22, 2023
45e3709
Stylistic chores (#433)
0x009922 Nov 22, 2023
2d8fb9e
Security: Navigation and bad syntax bug fix (#438)
yamkovoy Nov 29, 2023
adaa1b9
[docs] #439: Mention that env variables override config file (#441)
outoftardis Nov 30, 2023
32c1734
[docs] #437: Mention rejected transactions (#442)
outoftardis Nov 30, 2023
74cd732
[docs]: update configuration endpoints (#435)
0x009922 Dec 13, 2023
67e243d
Permission token examples (#467)
Stukalov-A-M Jan 26, 2024
150c151
Updated and polished the "Torii Endpoints" topic (#464)
yamkovoy Feb 6, 2024
1572dc1
Housekeeping (#477)
0x009922 Feb 12, 2024
45f94c4
Update CODEOWNERS (#482)
outoftardis Apr 1, 2024
5ed9fe0
Updated Rust guide to include information about transferring assets (…
enxtur May 14, 2024
5b3f600
Support generating reference for bitmaps in schema
DCNick3 May 14, 2024
7af87b2
Update to snippets to use the latest iroha dev revision, update confi…
DCNick3 May 14, 2024
a561d6e
Update torii reference to be up-to-date with https://github.com/hyper…
DCNick3 May 14, 2024
070bb2e
Fix broken link to VersionedSignedTransaction (SignedTransaction now)
DCNick3 May 14, 2024
61eb82c
Stop labeling issues (#488)
nxsaken May 20, 2024
c1520e4
Replace `docker-compose` (V1) with `docker compose` (V2) (#490)
nxsaken Jun 26, 2024
88c4ce0
Getting started update and overhaul (#504)
a-zorina Sep 11, 2024
a2df2bf
Rename crates iroha_cli and iroha_kagami (#507)
nxsaken Sep 25, 2024
a3b05f2
Docs structure overhaul (#508)
a-zorina Sep 26, 2024
f9d2b58
link fixes due to migration (#509)
a-zorina Oct 31, 2024
bc65d77
Housekeeping (#510)
0x009922 Nov 7, 2024
90cf675
iroha2-branding (#511)
tarmovannas Dec 4, 2024
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
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_FEEDBACK_URL=https://164.92.190.45/feedback/form
VITE_COMPAT_MATRIX_URL=https://docs-compat.iroha2.tachi.soramitsu.co.jp/compat-matrix
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vitepress/dist
.vitepress/cache
src/snippets
38 changes: 26 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
// eslint-disable-next-line no-undef
module.exports = {
extends: ['plugin:vue'],
// env: {
// es2021: true,
// },
rules: {
'spaced-comment': [
'error',
'always',
{
markers: ['/'],
},
],
root: true,
extends: ['plugin:vue/vue3-recommended', 'eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
rules: {
'vue/html-indent': ['error', 2],
'spaced-comment': [
'error',
'always',
{
markers: ['/'],
},
],
},
overrides: [
{
files: ['.vitepress/theme/components/MermaidRender.vue'],
rules: {
// FIXME: find a way to disable this it for the particular line
'vue/no-v-html': 'off',
},
},
],
}
14 changes: 14 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
* @outoftardis

# doc sources
/src/ @outoftardis @WRRicht3r @nxsaken
*.md @outoftardis @WRRicht3r @nxsaken
src/guide/javascript.md @0x009922 @outoftardis @WRRicht3r @nxsaken

# configurations
/.vitepress/ @0x009922
*.js @0x009922
*.ts @0x009922
*.json @0x009922
*.yaml @0x009922
*.vue @0x009922
68 changes: 68 additions & 0 deletions .github/workflows/gh-pages-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Deploy at GitHub Pages

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with:
node-version: 18

# --- Install with caching
# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time

- name: Enable Corepack
run: corepack enable

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: |
${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
/home/runner/.cache/Cypress
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install packages
run: pnpm install

- name: Check formatting
run: pnpm format:check

- name: Run linter
run: pnpm lint

- name: Run tests
run: pnpm test

- name: Build VitePress
run: |
pnpm build
pnpm cli validate-links .vitepress/dist --public-path $PUBLIC_PATH
env:
PUBLIC_PATH: /iroha-2-docs/
# chalk has a color detection bug
FORCE_COLOR: 2

- name: Push static content into master:gh-pages
working-directory: .vitepress/dist
run: |
git config --global user.email "${GITHUB_ACTOR}@https://users.noreply.github.com/"
git config --global user.name "${GITHUB_ACTOR}"
git init
git add --all
git commit -m "Auto update pages on $(date +'%Y-%m-%d %H:%M:%S')"
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} master:gh-pages
58 changes: 58 additions & 0 deletions .github/workflows/pull-request-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Pull Request CI
on:
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

# --- Install with caching
# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time

- name: Enable Corepack
run: corepack enable

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: |
${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
/home/runner/.cache/Cypress
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install packages
run: pnpm install

- name: Type check
run: pnpm typecheck

- name: Lint
run: pnpm lint

- name: Format
run: pnpm format:check

- name: Run tests
run: pnpm test

- name: Build
run: pnpm build

- name: Validate links
run: pnpm cli validate-links .vitepress/dist
env:
# chalk has a color detection bug
FORCE_COLOR: 2
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
.DS_Store
node_modules
dist
/src/flymd.md
/src/flymd.html
/src/*.temp
/src/snippets
.vitepress/cache
.idea
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@iroha2:registry=https://nexus.iroha.tech/repository/npm-group/
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vitepress/dist
.vitepress/cache
/src/snippets
/src/example_code
67 changes: 30 additions & 37 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
// eslint-disable-next-line no-undef
module.exports = {
// max 120 characters per line
printWidth: 120,
// use 24spaces for indentation
tabWidth: 4,
// use spaces instead of indentations
useTabs: false,
// semicolon at the end of the line
semi: false,
// use single quotes
singleQuote: true,
// object's key is quoted only when necessary
quoteProps: 'as-needed',
// use double quotes instead of single quotes in jsx
jsxSingleQuote: false,
// no comma at the end
trailingComma: 'all',
// spaces are required at the beginning and end of the braces
bracketSpacing: true,
// brackets are required for arrow function parameter, even when there is only one parameter
arrowParens: 'always',
// format the entire contents of the file
rangeStart: 0,
rangeEnd: Infinity,
// no need to write the beginning @prettier of the file
requirePragma: false,
// No need to automatically insert @prettier at the beginning of the file
insertPragma: false,
// use default break criteria
proseWrap: 'preserve',
// decide whether to break the html according to the display style
htmlWhitespaceSensitivity: 'css',
// vue files script and style tags indentation
vueIndentScriptAndStyle: false,
// lf for newline
endOfLine: 'lf',
// formats quoted code embedded
embeddedLanguageFormatting: 'auto',
printWidth: 120,
tabWidth: 2,
useTabs: false,
semi: false,
singleQuote: true,
quoteProps: 'as-needed',
jsxSingleQuote: false,
trailingComma: 'all',
bracketSpacing: true,
arrowParens: 'always',
rangeStart: 0,
rangeEnd: Infinity,
requirePragma: false,
insertPragma: false,
proseWrap: 'preserve',
htmlWhitespaceSensitivity: 'css',
vueIndentScriptAndStyle: false,
endOfLine: 'lf',
embeddedLanguageFormatting: 'auto',

overrides: [
{
files: ['./src/**/*.md'],
options: {
printWidth: 75,
proseWrap: 'always',
},
},
],
}
Loading
Loading