-
Notifications
You must be signed in to change notification settings - Fork 3
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: create Docusaurus documentation site for Copilot by Detox #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's start from removing some redundancy, ok?
website/docusaurus.config.js
Outdated
favicon: '/img/homepage/detox-logo.png', | ||
|
||
// Set the production url of your site here | ||
url: 'https://your-docusaurus-site.example.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is better to be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does 'https://copilotbydetox.com/' sound?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do you deploy it to, currently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know actually. Can I just choose to deploy to this address?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LironMShemen no, to deploy to a domain we need to buy it.. Someday maybe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's start with a plain deployment to github pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please fix your .nvmrc
to use lts/jod
(Node 22), instead of that embarrasing thing inside: 😅 I mean, just like a grenade that did not explode, there's this snippet of Shell script there inside:
echo "20" > .nvmrc
Overall, good job, but a few places still need some polish.
website/src/pages/index.js
Outdated
<img | ||
src="/img/homepage/copilot-demo.gif" | ||
alt="Demo Gif" | ||
className={styles.bottomRightGif} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m not convinced that GIF is the best solution in this case.
- It does not compress well; consider using WebP or other more modern formats instead.
- To enhance user experience, a video file (WebM or whatever) would be ideal. This allows viewers to open it in fullscreen mode, pause/resume, etc. making it more usable, especially on mobile devices.
48665ea
to
a03e89d
Compare
d384b26
to
f993e45
Compare
…tial commit This commit adds a new Docusaurus-based documentation site with: ### Guides Section: - **Integrating with Testing Frameworks:** Overview of Copilot's capabilities. - **Technical Overview:** Adapted from Detox docs (to be removed there). - **Best Practices:** Framework-agnostic step-by-step guidance. - **Custom Driver Implementation:** Guide to creating and adding testing framework drivers. - **Contributing:** Details on adding prompt handlers and drivers, with tips and github link. ### API Section: - **Interface Overview:** Lifecycle commands (`init`, `start`, `perform`, `end`). - **Prompt Handlers:** Writing and contributing (`src/prompt-handlers`). - **Framework Drivers:** Custom implementation, snapshot support, and type references. ### Showcase Page: - Highlights Detox as the initial use case and invites collaboration with other frameworks. chore: md and mdx files with the content of the website chore: svg and icon files chore: scss files chore: feature changes and main page Instead of Detox 6 features, now only 2 relevant features are presented. In addition, instead of the gif, we created fixed repetitive component. css fix: fix the side bar navigation chore chore: Changes due to code review **Docusaurus leftovers were deleted. **The link to edit the page was updated. **The URL for the website was updated.
f993e45
to
cf6ce3e
Compare
Great job @LironMShemen! I will publish the site soon 🙂 |
This commit adds a new Docusaurus-based documentation site with:
Guides Section:
API Section:
init
,start
,perform
,end
).src/prompt-handlers
).Showcase Page: