Repository navigation
Conversation
|
✔️ Deploy Preview for devel-docs-dagger-io ready! 🔨 Explore the source changes: d4d81c3 🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/622b94c94d88b600086590a6 😎 Browse the preview: https://deploy-preview-1758--devel-docs-dagger-io.netlify.app |
When you navigate to "what is cue" from 0.2 docs it keeps the sidebar as is. When you navigate to "what is cue" from 0.1 docs it updates the sidebar to 0.2. Is that OK? |
|
If it is not OK, maybe we should go to the next improvement instead and break down that large It does feel that we are working around a Docusaurus limitation... |
Not ideal but, in this specific case, I would say acceptable. wdyt @aluzzardi ? |
Actually a better incremental plan B would be to just duplicate the content into different pages. Refactoring the content as you propose feels out of scope - better kept for a separate PR to be reviewed on its own terms. In any case, your plan A is fine IMO (see other comment). |
|
Both Plan A and B are fine by me. I wouldn't worry too much about duplicate contents in Plan B -- IMHO 0.1 docs should go away soon (the user base doesn't justify the cost), so it's acceptable to copy that file over and delete 0.1 docs in a couple of months or so. |
I agree but we will have to deal with multiple versions of the docs soon enough. So we can (and should) kick the can down the road, but also need to start thinking about longer-term solution too IMO. |
Also the whole point of the ID-based system is that we never have to delete anything: URLs and content can remain immutable, with potentially a "archived / deprecated" warning on top. |
|
Based on your comments above, this is what I intend to do next:
My understanding is that we don't make use of the built-in Docusaurus versioning support, and instead use unique article IDs. In other words, we are off the beaten track and support may be limited. I still think that unique article IDs is a good idea, and with that in mind, we are OK to solve this our own way, which implies duplicating content for now, and may require a better approach in the future. |
|
While duplicating the existing CUE page was a good first step, it didn't feel good enough for the 0.2.0 docs. For the new docs we have adopted a more direct language and slightly different formatting:
While our primary aim is to help users achieve specific goals (e.g. use secrets, build container images etc.), the secondary aim is to share the the Dagger philosophy and link different concepts into a whole which is greater than the sum of its parts. Given this perspective, it is easy to understand why rewriting the CUE page for 0.2.0 and linking it to the Dagger CUE API was the right next step. That is what this change does. Part of this change, I have dropped the I have also updated the only two occurrences of 0.2.0-beta.1 to 0.2.0. |
|
On top of the primary goal, this drops Knowledge Base and restructures the nav. Let's talk if you would like to see more changes before this gets merged @shykes @aluzzardi. If you are happy with this as is, please merge. |
TomChv
left a comment
There was a problem hiding this comment.
That's a great job! I added some comments to improve the doc, feel free to take it in account or no 🚀
|
Thanks. Can you split out the content edits, if not in a separate PR, then at least in separate commits? As is, we can't review the changes to "what is CUE" because it's tracked as an entirely new file, changes and all. Also, we had at least one user go out of their way to tell us they loved this page and found it great. This tells me that it doesn't need to be heavily edited. |
The proposal was for this to be a duplicate, so While that is how this started, I edited the new CUE file. I don't think
You have a fresh pair of eyes. If you do not think that the new page is clearer and more to-the-point than the previous one, it can always be reverted via |
|
@TomChv thank you for the great comments, I addressed them in the last force push. I will comment on the changes not made next. |
While the CUE doc page was not on my radar for the 0.2.0 release, it became obvious that we would do our users a dis-service if we didn't add it. The initial idea was to just include the existing page, from the 0.1.0 docs, but then we have hit a few issues and concluded that duplicating this page with a new ID is a reasonable compromise: #1758 (comment) This was a good first step, but not good enough for the 0.2.0 docs. For the new docs we have adopted a more direct language and slightly different formatting: - shorter sentences - more lists - and a story-like approach to encourage users to navigate from doc to doc While our primary aim is to help users achieve specific goals (e.g. use secrets, build container images etc.), the secondary aim is to share the the Dagger philosophy and link different concepts into a whole which is greater than the sum of its parts. Given this perspective, it is easy to understand why rewriting the CUE page for 0.2.0 and linking it to the Dagger CUE API was the right next step. That is what this change does. As I was taking a closer look at the Dagger CUE API page, I realised that linking to the specific 0.2.0 cue pages for dagger.io/dagger would help users discover them and understand better CUE packages. I also added some definitions which we have missed. Part of this change, I have dropped the DRAFTS section since the only page was a pre-Europa use-case. In my mind, the post-Europa docs effort will be all about Use Cases, so it would make sense to defer this page when we start that, instead of keeping around something half-implemented. The cost of inventory is underrated IMO. I have also updated the only two occurrences of 0.2.0-beta.1 to 0.2.0 This is part of #1327 Signed-off-by: Gerhard Lazu <[email protected]>
|
@shykes if this needs more consensus, I'm happy to continue that discussion. |
|
I can see how splitting this PR into multiple smaller PRs will help move this along. Thank you for the feedback @shykes! |
|
Sorry for not merging as I promised, we got distracted by something else, then I forgot... FYI my comments can be addressed in follow-up PRs. |
|
That's not a problem, seriously 🙂 I have slept on it and realised that this could have been at least 3 smaller PRs which would have flowed through easier. You were suggesting this, but I didn't see it as clearly as I do now. Will break this down into smaller PRs so that we can track the changes easier 💪🏻 |



Also replace all occurences of Cue with CUE.
Solves #1753