Skip to content

Commit

Permalink
docs: finalise docs-snippets (#3369)
Browse files Browse the repository at this point in the history
* chore: migrate all `docs-snippets2` functionality to `docs`

* add script snippets to `docs-snippets2`

* chore: finalized migration of docs-snippets

* chore: added correct path to env

* chore: finalized the snippet wrapping

* chore: lint + gitignore

* chore: removed typegend folder

* chore: tweaked the type check to only pass the snippets

* chore: removed regions

* chore: removed final `#import`

* docs: migrated `script-init`

* chore: reverted changes to proxy

* chore: changeset

* chore: corrected MarkdownIt type

* chore: fix pretest

* chore: migrating snippets to inline

* chore: fixed snippet location

* chore: fix imports

* chore: lint spell check

* chore: added prettier ignore files

* Update .github/workflows/code-lint.yaml

* Trigger Build

* chore: rollback linting of spellcheck

* chore: altered readme

* chore: rollback pretest

* chore: removed non-existent file from wrap ignore

* Revert "chore: rollback linting of spellcheck"

This reverts commit 0d9fbf0.

* chore: removed docs prettier ignore

* chore: added tests to prettierignore

---------

Co-authored-by: Dhai <[email protected]>
Co-authored-by: Sérgio Torres <[email protected]>
  • Loading branch information
3 people authored Nov 23, 2024
1 parent 27e8808 commit 670a50d
Show file tree
Hide file tree
Showing 469 changed files with 952 additions and 2,385 deletions.
2 changes: 0 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"demo-nextjs",
"demo-node-esm",
"demo-typegen",
"docs-snippets",
"docs-snippets2",
"template-nextjs",
"create-fuels-counter-guide",
"demo-wallet-sdk-react",
Expand Down
2 changes: 2 additions & 0 deletions .changeset/itchy-forks-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ apps/demo-nextjs
apps/demo-react-cra
apps/demo-react-vite
apps/create-fuels-counter-guide
apps/docs-snippets2/src/typegend
apps/docs-snippets2/src/**/*.test.ts
apps/docs/src/typegend
apps/docs/src/**/*.test.ts

packages/fuels/src/cli/commands/deploy/proxy
packages/fuels/test/fixtures/project
Expand Down
3 changes: 1 addition & 2 deletions .knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"/apps/docs/*",
"/packages/abi-typegen/test/**",
"templates/**",
"/apps/docs-snippets/**",
"/apps/docs-snippets2/**/*.test.ts",
"/apps/docs/**/*.test.ts",
"apps/create-fuels-counter-guide/**",
"apps/docs-api/**"
],
Expand Down
7 changes: 5 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ apps/demo-typegen/src/script-types
apps/demo-typegen/src/predicate-types
apps/docs/.vitepress/cache/
apps/create-fuels-counter-guide
apps/docs-snippets/.fuels
apps/docs-snippets2/.fuels
apps/docs/.fuels
apps/docs/.typedoc
apps/docs/src/api
apps/docs/src/typegend
apps/docs/src/**/*.test.ts

packages/fuels/src/cli/commands/deploy/proxy
packages/fuels/test/fixtures/project
Expand Down
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
}
},
{
"files": ["apps/docs-snippets2/src/**/*.ts"],
"excludeFiles": ["apps/docs-snippets2/src/**/*.test.ts"],
"files": ["apps/docs/src/**/*.ts"],
"excludeFiles": ["apps/docs/src/**/*.test.ts"],
"options": {
"printWidth": 80
}
Expand Down
1 change: 0 additions & 1 deletion apps/docs-snippets/.gitignore

This file was deleted.

134 changes: 0 additions & 134 deletions apps/docs-snippets/CHANGELOG.md

This file was deleted.

9 changes: 0 additions & 9 deletions apps/docs-snippets/fuels.config.ts

This file was deleted.

20 changes: 0 additions & 20 deletions apps/docs-snippets/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions apps/docs-snippets/scripts/pretest.sh

This file was deleted.

This file was deleted.

Loading

0 comments on commit 670a50d

Please sign in to comment.