Codeberg/Documentation
42
199
Fork
You've already forked Documentation
161

Question: Reasons for why 11ty is used over other available solutions #409

Open
opened 2024年03月15日 00:57:59 +01:00 by Andre601 · 3 comments
Contributor
Copy link

This question was on my mind for a while now, so I finally want to ask it. And since it's about the Documentation do I think it's best suited here to ask.

My question is simple, but may have a complex answer: Why is 11ty used for the static site building over other solutions available like f.e. MkDocs, Docosaurus or other?
Are there specific benefits over the other options that make 11ty the best choice, or was it just a first pick?

I ask, because when I was contributing to the Documentation (i.e. adding callout boxes), getting 11ty to work and figuring everything out was tedious to achieve, which may be something other people might encounter too, discouraging them from contributing...
If there was no particular benefit/reason for 11ty, would Codeberg be open for moving the framework to something else?

This question was on my mind for a while now, so I finally want to ask it. And since it's about the Documentation do I think it's best suited here to ask. My question is simple, but may have a complex answer: Why is 11ty used for the static site building over other solutions available like f.e. MkDocs, Docosaurus or other? Are there specific benefits over the other options that make 11ty the best choice, or was it just a first pick? I ask, because when I was contributing to the Documentation (i.e. adding callout boxes), getting 11ty to work and figuring everything out was tedious to achieve, which may be something other people might encounter too, discouraging them from contributing... If there was no particular benefit/reason for 11ty, would Codeberg be open for moving the framework to something else?

It was once chosen, it has worked pretty well for the purposes Codeberg Docs need.

I ask, because when I was contributing to the Documentation (i.e. adding callout boxes), getting 11ty to work and figuring everything out was tedious to achieve, which may be something other people might encounter too, discouraging them from contributing...

Is this something specific to 11yt? I've not seen really good static sites builders where adding new features such as callout boxes could be done in an hour with no prior experience. Also most contributions come in the form of adding or improving existing content which are all in the markdown format.

If there was no particular benefit/reason for 11ty, would Codeberg be open for moving the framework to something else?

Moving to a new framework comes with its own problems and we would need to port our 'custom patches' to a new framework and make it compatible with the existing design choices.

Unless someone really wants to dedicate time and effort to improve the Codeberg documentations and moving to a new framework would help with that, then it would be fine but otherwise we shouldn't spend time or resources to things that already work.

It was once chosen, it has worked pretty well for the purposes Codeberg Docs need. > I ask, because when I was contributing to the Documentation (i.e. adding callout boxes), getting 11ty to work and figuring everything out was tedious to achieve, which may be something other people might encounter too, discouraging them from contributing... Is this something specific to 11yt? I've not seen really good static sites builders where adding new features such as callout boxes could be done in an hour with no prior experience. Also most contributions come in the form of adding or improving existing content which are all in the markdown format. > If there was no particular benefit/reason for 11ty, would Codeberg be open for moving the framework to something else? Moving to a new framework comes with its own problems and we would need to port our 'custom patches' to a new framework and make it compatible with the existing design choices. Unless someone really wants to dedicate time and effort to improve the Codeberg documentations and moving to a new framework would help with that, then it would be fine but otherwise we shouldn't spend time or resources to things that already work.
Author
Contributor
Copy link

Is this something specific to 11yt? I've not seen really good static sites builders where adding new features such as callout boxes could be done in an hour with no prior experience. Also most contributions come in the form of adding or improving existing content which are all in the markdown format.

Well, static site builders like Docosaurus or MkDocs already provide callouts that would only need to be added in configuration and doesn't need extra work, so there is already a difference to 11ty which seems to just be a bare-bones site builder here.

Moving to a new framework comes with its own problems and we would need to port our 'custom patches' to a new framework and make it compatible with the existing design choices.

And what patches would that be exactly? Maybe those are already included in alternative solutions?

> Is this something specific to 11yt? I've not seen really good static sites builders where adding new features such as callout boxes could be done in an hour with no prior experience. Also most contributions come in the form of adding or improving existing content which are all in the markdown format. Well, static site builders like Docosaurus or MkDocs already provide callouts that would only need to be added in configuration and doesn't need extra work, so there is already a difference to 11ty which seems to just be a bare-bones site builder here. > Moving to a new framework comes with its own problems and we would need to port our 'custom patches' to a new framework and make it compatible with the existing design choices. And what patches would that be exactly? Maybe those are already included in alternative solutions?

Well, static site builders like Docosaurus or MkDocs already provide callouts that would only need to be added in configuration and doesn't need extra work, so there is already a difference to 11ty which seems to just be a bare-bones site builder here.

It's good that dedicated solutions for documentation exists, but for all means and purposes 11ty has done a good job so far to provide a framework to do the same.

And what patches would that be exactly?

Anything that we've done on top of 11ty, such as the callouts and search.

Maybe those are already included in alternative solutions?

No clue, I don't see the benefit of exploring other solutions unless there comes something along that will make a compelling argument that another solution will help solving with problems that 11ty cannot solve, porting to another framework requires a lot of time and effort. Such as in the case if someone wants to dedicate time to improve Codeberg documentation and another framework provides more foundations to do that then porting it to a better solutions is fine. But just because those other solutions exists doesn't mean we have to use them, I really don't want anyone spend time on trying to port Codeberg documentations for no added benefit at this moment as docs.codeberg.org works without much thought at the moment, there are other problems that need attention in the Codeberg space.

> Well, static site builders like Docosaurus or MkDocs already provide callouts that would only need to be added in configuration and doesn't need extra work, so there is already a difference to 11ty which seems to just be a bare-bones site builder here. It's good that dedicated solutions for documentation exists, but for all means and purposes 11ty has done a good job so far to provide a framework to do the same. > And what patches would that be exactly? Anything that we've done on top of 11ty, such as the callouts and search. > Maybe those are already included in alternative solutions? No clue, I don't see the benefit of exploring other solutions unless there comes something along that will make a compelling argument that another solution will help solving with problems that 11ty cannot solve, porting to another framework requires a lot of time and effort. Such as in the case if someone wants to dedicate time to improve Codeberg documentation and another framework provides more foundations to do that then porting it to a better solutions is fine. But just because those other solutions exists doesn't mean we have to use them, I really don't want anyone spend time on trying to port Codeberg documentations for no added benefit at this moment as docs.codeberg.org works without much thought at the moment, there are other problems that need attention in the Codeberg space.
Sign in to join this conversation.
No Branch/Tag specified
main
renovate/major-cspell-monorepo
renovate/mstruebing-editorconfig-checker-3.x
renovate/lycheeverse-lychee-0.x
renovate/font-awesome
renovate/prettier-3.x
renovate/markdownlint-cli2-0.x
renovate/markdown-it-14.x
renovate/davidanson-markdownlint-cli2-0.x
renovate/pipelinecomponents-yamllint-0.x
renovate/11ty-eleventy-3.x
renovate/node-lts-slim
renovate/npm-pnpm-vulnerability
ci_pr_close_no_preview
pr-554
pr/554
gitea-icons-shortcode
No results found.
Labels
Clear labels
Codeberg Pages
Issues affecting Codeberg Pages
Documentation Usability
Issues related to using and reading docs.codeberg.org
Forgejo
Good First Issue! 👋
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Question
Kind: Security
Licensing
Part: Generator
This is related to the generation of the documentation, not to the content itself
Priority: High
The priority is high
Priority: Low
The priority is low
Priority: Medium
The priority is medium
Reviewed: Confirmed
Something has been confirmed
Reviewed: Duplicate
Something exists already
Reviewed: Invalid
Something was marked as invalid
Reviewed: Wontfix
Something won't be fixed
Status: Blocked
Status: Help wanted
Contributions are welcome!
Status: In progress
Work is in progress
Status: Needs feedback
Feedback is needed
Status: Ready for Review
Work is completed
Status: Review
Review is in progress / Reviewers wanted
Status: Stale
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation#409
Reference in a new issue
Codeberg/Documentation
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?