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

[DOCS] chore: check that all md files have an h1 #824

Merged
merged 12 commits into from
Aug 28, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/chromatic-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:

- name: pnpm build (internal dependencies)
run: |
pnpm build --filter @kadena/react-ui
pnpm build --filter @kadena/react-components
pnpm --filter @kadena/react-ui... build
pnpm --filter @kadena/react-components... build

- name: Publish Storybook
uses: chromaui/action@v1
Expand Down
5 changes: 5 additions & 0 deletions common/config/rush/repo-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
{
"pnpmShrinkwrapHash": "0efca35f94d7ac20224c4abf45c90488e87c2cb7",
"preferredVersionsHash": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f"
}
10 changes: 7 additions & 3 deletions packages/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@
"7d:clear": "npx 7d pinecone-clear-namespace --namespace kda-docs",
"7d:ingest": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --namespace kda-docs",
"7d:query": "npx 7d",
"build": "pnpm run /^build:.*/ && next build",
"build": "pnpm run build:scripts && next build",
"build:brokenLinks": "node src/scripts/detectBrokenLinks.mjs",
"build:checkForHeaders": "node src/scripts/checkForHeaders.mjs && prettier ./src/pages/docs --write",
"build:createSpecJson": "node ./src/scripts/createSpec.mjs && prettier ./src/specs/**/*.json --write",
"build:createtree": "node ./src/scripts/getdocstree.mjs && prettier ./src/data/menu.mjs --write",
"build:importReadMe": "node ./src/scripts/importReadme.mjs && prettier ./src/pages/docs --write",
"build:next": "pnpm run build:scripts && next build",
"build:scripts": "pnpm run build:importReadMe && pnpm run build:createtree && pnpm run build:createSpecJson && pnpm run build:brokenLinks && pnpm run build:checkForHeaders",
"build:storybook": "storybook build",
"chromatic": "chromatic -b build:storybook",
"cypress:ci": "NEXT_PUBLIC_APP_DEV=test start-server-and-test dev http://localhost:3000 cypress:run",
"cypress:cilocal": "NEXT_PUBLIC_APP_DEV=test start-server-and-test dev http://localhost:3000 cypress:open",
"cypress:open": "percy exec -- cypress open",
"cypress:run": "percy exec -- cypress run",
"dev": "pnpm run /^build:.*/ && next dev",
"dev": "pnpm run build:scripts && next dev",
"format": "pnpm run /^format:.*/",
"format:src": "prettier config cypress src --write",
"lint": "eslint package.json src --ext .js,.ts,.jsx,.tsx,.mjs --fix",
Expand Down Expand Up @@ -55,7 +58,8 @@
"remark-frontmatter": "~4.0.1",
"remark-gfm": "~3.0.1",
"shiki": "~0.14.2",
"styled-components": "~5.3.10"
"styled-components": "~5.3.10",
"globby": "~13.2.2"
},
"devDependencies": {
"@7-docs/cli": "~0.3.1",
Expand Down
38 changes: 0 additions & 38 deletions packages/apps/docs/src/pages/docs/__tests/chainweb/index.md

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions packages/apps/docs/src/pages/docs/__tests/index.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions packages/apps/docs/src/pages/docs/__tests/kadenajs/index.md

This file was deleted.

43 changes: 0 additions & 43 deletions packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/atom.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/index.md

This file was deleted.

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions packages/apps/docs/src/pages/docs/__tests/pact/basics/index.md

This file was deleted.

37 changes: 0 additions & 37 deletions packages/apps/docs/src/pages/docs/__tests/pact/how-does-it-work.md

This file was deleted.

Loading