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

Port documentation content from Hugo #11

Open
davidjgoss opened this issue Mar 28, 2024 · 3 comments
Open

Port documentation content from Hugo #11

davidjgoss opened this issue Mar 28, 2024 · 3 comments
Assignees

Comments

@davidjgoss
Copy link
Contributor

We have started working with Docusaurus for our new website. To have a single location for content and ensure a smooth transition when we put this site live on the cucumber.io domain, it makes sense to bring the docs (from https://github.com/cucumber/docs) in here too.

There have been many ideas and opinions in the past couple of years about what we could/should do with the docs, but we don't want to solve too many problems at once. So, the strategy here will be to port the existing content as-is, resolving to the same paths, with light-touch review as we go to hopefully catch any stale or inaccurate content.

It would be nice to bring the commit history over with the docs content, but it's not a dealbreaker if we can't.

I already ported the Gherkin Reference page as an example here https://cucumber-site-new.netlify.app/docs/gherkin/reference/ - this just took a few minutes of tweaking the Markdown. I'll do a couple more to prove this is workable, including at least one with language tabs.

As discussed today with @mattwynne @mpkorstanje; cc @mlvandijk @luke-hill @brasmusson

@davidjgoss davidjgoss self-assigned this Mar 28, 2024
@mpkorstanje
Copy link

@davidjgoss the most complicated part of the documentation is the multi-language aspect. How do you propose we do this?

@davidjgoss
Copy link
Contributor Author

@mpkorstanje yeah I wanted to tackle this pretty early. I have a POC started in #14 - much to do but promising so far.

You can see a preview of the first section of the step definitions page here https://deploy-preview-14--cucumber-site-new.netlify.app/docs/cucumber/step-definitions/

@davidjgoss
Copy link
Contributor Author

davidjgoss commented Mar 29, 2024

How do you propose we do this?

A bit more specifically, I think the language tabs at the top of the page in the current docs are easy to miss. I'd like to see how we get on with having tabs in each part of the page where there is a code sample. Docusaurus will sync the preference across all sections.

We also often see content like this...

image

...which really isn't ideal, and I think we could refactor the way those pages are structured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants