Skip to content

Conversation

@mithatakbulut
Copy link
Contributor

@mithatakbulut mithatakbulut commented Aug 21, 2025

Adsız-2024-09-10-2157 (2)

…k to 0xsequence/docs

This commit introduces a new GitHub Actions workflow that automates the synchronization of documentation files from the marketplace-sdk repository to the 0xsequence/docs repository. The workflow triggers on pushes to the main or master branches and allows for manual execution. It includes steps for checking out both repositories, copying documentation files while excluding specific internal setup documentation, and creating a pull request if changes are detected. The workflow ensures that documentation remains up-to-date and accurately reflects the latest changes in the SDK.
This commit introduces a new Bash script, setup-docs-sync.sh, designed to facilitate the setup of an automated documentation synchronization workflow between the marketplace-sdk repository and the 0xsequence/docs repository. The script includes checks for necessary configurations, such as the presence of a GitHub Personal Access Token and the required workflow file. It provides step-by-step instructions for users to create and validate the token, as well as guidance on testing the workflow. The script enhances the documentation process by ensuring that users can easily configure and test the sync setup.
This commit introduces a comprehensive guide for setting up automated documentation synchronization between the marketplace-sdk and 0xsequence/docs repositories using GitHub Actions. The guide details the prerequisites, workflow triggers, steps involved, and troubleshooting tips to ensure a smooth setup process. It also includes best practices for maintaining documentation accuracy and security considerations for using Personal Access Tokens. This documentation aims to facilitate user understanding and streamline the sync process.
@mithatakbulut mithatakbulut requested review from a team and 0xsequence-bot as code owners August 21, 2025 11:58
@mithatakbulut mithatakbulut self-assigned this Aug 21, 2025
- Rename sdk/docs/DOCS-SYNC-SETUP.md to README.md so GitHub automatically displays the documentation sync setup guide when viewing the sdk/docs/ directory
- Remove accidental test-sync file from docs directory
- This enables proper markdown rendering in GitHub's web interface for the docs directory
- Update sync-docs.yml workflow to exclude README.md instead of DOCS-SYNC-SETUP.md
- Update setup-docs-sync.sh script references to point to sdk/docs/README.md
- Maintain exclusion of setup guide from documentation sync to prevent overwriting target repository's README
- All references now correctly point to the renamed file location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants