Skip to content

✨(docs) integrate "Edit in Docs" feature#403

Draft
maxenceh wants to merge 1 commit into
mainfrom
maxenceh/edit-in-docs
Draft

✨(docs) integrate "Edit in Docs" feature#403
maxenceh wants to merge 1 commit into
mainfrom
maxenceh/edit-in-docs

Conversation

@maxenceh
Copy link
Copy Markdown
Collaborator

@maxenceh maxenceh commented Apr 10, 2026

Purpose

Feature Request

Add a button under the assistant response giving the option for the user to edit the response directly to a new document in Docs

Solution

  • Adding a "more" button to the action bar below each Assistant response. This button would serve as a home "Edit in docs", in the future we can add more advanced feature there.
  • Upon click of "Edit in Docs", create a .md file containing the last assistant response. Give it the title of the first header in the markdown response
  • Use Docs external_api o create a document (see docs: https://github.com/suitenumerique/docs/blob/main/docs/resource_server.md)
  • Upon successful response, open a new tab with url https://docs.numerique.gouv.fr/

Proposal

  • item 1...
  • item 2...

External contributions

Thank you for your contribution! 🎉

Please ensure the following items are checked before submitting your pull request:

  • I have read and followed the contributing guidelines
  • I have read and agreed to the Code of Conduct
  • I have signed off my commits with git commit --signoff (DCO compliance)
  • I have signed my commits with my SSH or GPG key (git commit -S)
  • My commit messages follow the required format: <gitmoji>(type) title description
  • I have added a changelog entry under ## [Unreleased] section (if noticeable change)
  • I have added corresponding tests for new features or bug fixes (if applicable)

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 3dc2703c-6403-46a0-b942-84ef943e90f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch maxenceh/edit-in-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@maxenceh maxenceh linked an issue Apr 10, 2026 that may be closed by this pull request
3 tasks
@maxenceh maxenceh force-pushed the maxenceh/edit-in-docs branch from f146f37 to 7381d77 Compare April 10, 2026 13:32
…ration

Create DocsClient to call Docs external api.
Add button EditInDocs
@maxenceh maxenceh force-pushed the maxenceh/edit-in-docs branch from 7381d77 to ed536bc Compare April 10, 2026 16:03
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
18 Security Hotspots

See analysis details on SonarQube Cloud

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.

Add direct "export to Docs" button

1 participant