readthedocs / ext-theme

Read the Docs drop in replacement site templates
2 stars 2 forks source link

Projects: tune examples on project creation #373

Open agjohnson opened 3 months ago

agjohnson commented 3 months ago

The project example configuration in the project creation wizard will eventually need some tuning:

humitos commented 3 months ago

Right now we have some notes on more advanced usage (alternative build tools you can use, optional configuration attributes) that will direct the users towards being distracted.

Good point. This was useful before because we only had just one example 👍🏼

Perhaps figure out how to display complex configuration examples, that require more than just a RTD config. This is still most likely to be links out to documentation though.

Yes, my plan for this was to add a link to a specific page in our docs that explains how to integrate the addons, for example. Basically, pointing to the pages written in https://github.com/readthedocs/readthedocs.org/issues/11187

agjohnson commented 3 months ago

Also just noticed that the UI doesn't quite imply that the user needs to do this manually. While setting up Crowdin the other day, their configuration file was commit to the repo for me. Users might expect our UX is similar.

I would probably replace the existing note:

image

It should explicitly give directions "Save and commit the following example configuration to your repository root as .readthedocs.yaml." instead. I'd not use another paragraph on this page, there is a lot of text distracting the user already.

We might be able to make this a link into GitHub's file editor and commit changes UI, I don't know about other providers support for this though.

humitos commented 3 months ago

While setting up Crowdin the other day, their configuration file was commit to the repo for me.

CircleCI also does this when setting up a new project. We talked about this in the past and we agreed on being too complex for us and also it would require asking for write permissions in the repository which is something we don't want.

agjohnson commented 3 months ago

I wasn't suggesting we commit the configuration file, that is indeed way too complex.

Users might be expecting our UX is the same as other services though, we don't mention on that UI what they need to do with the example configuration. I could see how users would feel like we're going to do something automatically for the user.