-
Notifications
You must be signed in to change notification settings - Fork 2
Fix editLink для продуктов не учитывает orgName из repositories.json #75
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
503cdf5
Initial plan for issue
Copilot 173e88c
Fix editLink organization issue for products from external repos
Copilot 01cc92c
Fix repository name extraction for products after rewrite - use split…
Copilot 857e1cc
Fix repository detection for autumn root paths (getting-started, fram…
Copilot 311171c
Remove hardcoded autumn directories, use pageData.filePath instead
Copilot 5e7874d
Create copilot-setup-steps.yml
nixel2007 7eb46ea
Create copilot-instructions.md
nixel2007 6ecddc8
Update copilot-setup-steps.yml
nixel2007 8f6637e
Remove fallback logic from editLink pattern, just return empty string
Copilot e9efca7
Update copilot-instructions.md
nixel2007 780c011
Remove unnecessary replace operations from relativePath processing
Copilot 81275ef
Fix autumn edit links to use entire relativePath instead of skipping …
Copilot c824520
Use filePath consistently for all repository detection instead of mix…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Это сайт на vitepress для экосистемы Autumn. Он содержит как описание продуктов, так и описание их API. | ||
Локально уже установлен node.js, зависимости. | ||
Документация подчинённых проектов (repositories.json) синхронизирована в каталог sync. | ||
Структура сайта собирается динамически, с активным использованием rewrite rules. | ||
|
||
Проверяй свои действия, собирая сайт и проверяя результирующие html-файлы. Используй curl на локальный адрес сайта только при необходимости. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "Coding Agent Environment Setup" | ||
|
||
# Allow testing of the setup steps from your repository's "Actions" tab. | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. | ||
copilot-setup-steps: | ||
runs-on: ubuntu-latest | ||
|
||
# Set the permissions to the lowest permissions possible needed for your steps. | ||
# Copilot will be given its own token for its operations. | ||
permissions: | ||
# Clone the repository to install dependencies | ||
contents: read | ||
|
||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '23' # Use the Node.js version compatible with VitePress | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Fetch documentation contents | ||
run: npm run sync | ||
|
||
- name: Build the site | ||
run: npm run docs:build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.