Skip to content

Move src to codegen #686

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @seamapi/sdk
/docs/ @seamapi/docs
/src/data @seamapi/docs
/codegen/data @seamapi/docs
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Normalize package-lock.json
run: npm install
- name: Generate docs
run: npm run build
run: npm run codegen
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*.d.ts
*.js
*.js.map
!src/**/*.d.ts
!codegen/**/*.d.ts
!ava.config.js

# Build directories
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gitbook-plugin
*.d.ts
*.js
*.js.map
!src/**/*.d.ts
!codegen/**/*.d.ts
!ava.config.js

# Build directories
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ See the [Development](#development) section below
for how to contribute to the documentation generation tool.

- The root of this project is a TypeScript project
and documentation generation is implemented in `/src`.
and documentation generation is implemented in `/codegen`.
- When a new pull request is opened, code generation will run automatically
in a GitHub workflow and update the PR will any changes.
- New PRs are automatically opened by Dependabot to ensure regular daily updates.
Expand All @@ -64,10 +64,10 @@ for how to contribute to the documentation generation tool.

```
$ git clone https://github.com/seamapi/docs.git
$ cd api-docs
$ cd docs
$ nvm install
$ npm install
$ npm run build
$ npm run codegen
```

Primary development tasks are defined under `scripts` in `package.json`
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading