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

Use docify export for parachain template hardcoded configuration and embed it in its README #6333 #7093

Merged
merged 42 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dd6429e
initial docify readme with some content #6333
seemantaggarwal Jan 8, 2025
5386289
further improvement for docify, still buggy, mid level commit
seemantaggarwal Jan 9, 2025
75dbca0
reverting to one less experimental stage
seemantaggarwal Jan 9, 2025
2e4f52b
keeping remote and local up to date
seemantaggarwal Jan 9, 2025
8cda7b3
further improvements in using docify
seemantaggarwal Jan 9, 2025
45bce73
removing function call for export call
seemantaggarwal Jan 9, 2025
65f93a4
fixing docify imports
seemantaggarwal Jan 9, 2025
318d589
addressing comments from iulian
seemantaggarwal Jan 11, 2025
219baa4
further trials in docify
seemantaggarwal Jan 11, 2025
757878d
mid level commit
seemantaggarwal Jan 12, 2025
f7122d8
fixing build errors
seemantaggarwal Jan 13, 2025
1e46e4f
creating and toml and lib.rs for parachain directory
seemantaggarwal Jan 13, 2025
96f915e
Patch from iulian barbu
seemantaggarwal Jan 13, 2025
f7f73c0
code cleanup
seemantaggarwal Jan 13, 2025
5cebc72
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 14, 2025
6af63fc
cargo fmt and taplo format
seemantaggarwal Jan 14, 2025
3494678
modifying sync-template-
seemantaggarwal Jan 14, 2025
7d15c09
fixing the path to src/lib.rs for readme generation script
seemantaggarwal Jan 14, 2025
a21b946
exclude template/parachain from check-workspace
seemantaggarwal Jan 14, 2025
7a26f92
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 14, 2025
f507fc9
fixing indentation in check-workspace.py
seemantaggarwal Jan 14, 2025
e02af52
modifying check workspace to account for excluding template/parachain
seemantaggarwal Jan 14, 2025
bb0856f
fixing cargo.lock
seemantaggarwal Jan 14, 2025
4585d1e
applying patch to update crate changes
seemantaggarwal Jan 14, 2025
9e9ec48
add pr doc and run taplo format
seemantaggarwal Jan 14, 2025
15a4e4b
modifying generate-prdoc to ignore double crate changes
seemantaggarwal Jan 14, 2025
1ac4ae2
change to pass check-prdoc
seemantaggarwal Jan 14, 2025
2663c34
change to pass check-prdoc
seemantaggarwal Jan 15, 2025
f8384f2
reverting changes in generate-pr-doc
seemantaggarwal Jan 15, 2025
b4b603a
code cleanup
seemantaggarwal Jan 15, 2025
2b8db82
reverting taplo format for cumulus crate
seemantaggarwal Jan 15, 2025
db9347d
comment address
seemantaggarwal Jan 15, 2025
e89d0c2
addressing comments
seemantaggarwal Jan 15, 2025
8c6bb70
fixing spacing
seemantaggarwal Jan 15, 2025
aa12866
reverting node changes
seemantaggarwal Jan 15, 2025
30d9ad9
fix markdown lint
seemantaggarwal Jan 15, 2025
bae8b3a
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 15, 2025
29b9737
modifying prdoc and removing docker command
seemantaggarwal Jan 16, 2025
d39f0bd
Update prdoc/pr_7093.prdoc
seemantaggarwal Jan 16, 2025
4d068dd
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 16, 2025
3f1d6ab
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 17, 2025
8b9c1d5
Merge branch 'master' into docify-parachain-readme
seemantaggarwal Jan 18, 2025
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/scripts/generate-prdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def create_prdoc(pr, audience, title, description, patch, bump, force):
if p == '/':
exit(1)
p = os.path.dirname(p)

with open(os.path.join(p, "Cargo.toml")) as f:
manifest = toml.load(f)

if not "package" in manifest:
continue

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/misc-sync-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ jobs:
- name: Copy over the new changes
run: |
cp -r polkadot-sdk/templates/${{ matrix.template }}/* "${{ env.template-path }}/"
- name: Remove unnecessary files from parachain template
if: ${{ matrix.template == 'parachain' }}
run: |
rm -f "${{ env.template-path }}/README.docify.md"
rm -f "${{ env.template-path }}/Cargo.toml"
rm -f "${{ env.template-path }}/src/lib.rs"
- name: Run psvm on monorepo workspace dependencies
run: psvm -o -v ${{ github.event.inputs.stable_release_branch }} -p ./Cargo.toml
Expand Down
Loading
Loading