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(OS-661): moves docs for the developer portal from docs/osx to docs/developer-portal #464

Merged
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Please include a summary of the change and be sure you follow the contributions
Task: [ID]()

## Type of change

See the framework lifecylce in `packages/contracts/docs/framework-lifecycle` to decide what kind of change this pull request is.
<!--- Please delete options that are not relevant. -->

- [ ] Bug fix (non-breaking change which fixes an issue)
Expand All @@ -17,7 +17,6 @@ Task: [ID]()
- [ ] I have selected the correct base branch.
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [ ] My changes generate no new warnings.
- [ ] Any dependent changes have been merged and published in downstream modules.
- [ ] I ran all tests with success and extended them if necessary.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/documentation-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: yarn run docgen
working-directory: packages/contracts/
- name: Format with prettier
run: yarn run prettier 'packages/contracts/docs/osx/03-reference-guide/**/*.md' --write
run: yarn run prettier 'packages/contracts/docs/develper-portal/03-reference-guide/**/*.md' --write
heueristik marked this conversation as resolved.
Show resolved Hide resolved
- name: Checkout developer-portal
uses: actions/checkout@v3
with:
Expand All @@ -36,8 +36,8 @@ jobs:
token: ${{ secrets.ARABOT_PAT }}
- name: Remove the docs/osx folder in the developer-portal
run: rm -rf $GITHUB_WORKSPACE/developer-portal/docs/osx
- name: Copy the docs/osx folder to the developer-portal
run: cp -R packages/contracts/docs/osx $GITHUB_WORKSPACE/developer-portal/docs/osx
- name: Copy the docs/develper-portal folder to the developer-portal
run: cp -R packages/contracts/docs/develper-portal $GITHUB_WORKSPACE/developer-portal/docs/osx
- name: Get short commit hash
id: hash
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_modules
coverage
coverage.json
typechain
docs/osx/03-reference-guide
docs/develper-portal/03-reference-guide

#Hardhat files
cache
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Framework Lifecycle
---

## Framework Lifecycle

Placeholder file until the framework lifecycle docs are finished.
7 changes: 0 additions & 7 deletions packages/contracts/docs/osx/03-reference-guide/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const config: HardhatUserConfig = {
deploy: './deploy',
},
docgen: {
outputDir: 'docs/osx/03-reference-guide',
outputDir: 'docs/develper-portal/03-reference-guide',
theme: 'markdown',
pages: 'files',
templates: 'docs/templates',
Expand Down
Loading