You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Indicate blog customization in the documentation #3643
Does docusaurus v2 not point to the possibility of inserting configuration parameters in docusaurus.config.js (postsPerPage, blogSidebarCount, blogSidebarTitle) has something else? and the right sidebar of the post page is also possible to be removed, but this is not indicated.
blog: {showReadingTime: true,postsPerPage: 3,blogSidebarCount: 2,blogSidebarTitle: 'Posts recentes',// Please change this to your repo.editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',},
In addition, through the yarn swizzle @ docusaurus / theme-classic <blog ...> --danger it is possible to customize a large part of the blog. Wouldn't it be worth explaining the documentation the function of each part of the theme below to indicate the possibilities of the blog?
We can definitively improve the documentation, if you have suggestions don't hesitate to send PRs directly.
I'd like to re-org everything in this doc, but that will be done later.
I am writing down the points that I feel could be added to the documentation. Next week we should finish adjusting our docusaurus. After that I did PRs.
Do you have any guidance or requests regarding documentation that I can help with?
Not much guidance, we have undocumented things, and documenting them will definitively be better than not :)
Just try to put the doc in the correct place. Also code blocks are not searchable easily so. we'd rather have all searchable content documented outside of codeblocks as well.
Once I ship i18n I'll reorg the docs. We need something better before translation our own website :)
Activity
slorber commentedon Oct 27, 2020
Hi,
We can definitively improve the documentation, if you have suggestions don't hesitate to send PRs directly.
I'd like to re-org everything in this doc, but that will be done later.
rafaelrdealmeida commentedon Oct 27, 2020
Hi @slorber ,
I am writing down the points that I feel could be added to the documentation. Next week we should finish adjusting our docusaurus. After that I did PRs.
Do you have any guidance or requests regarding documentation that I can help with?
slorber commentedon Oct 28, 2020
Not much guidance, we have undocumented things, and documenting them will definitively be better than not :)
Just try to put the doc in the correct place. Also code blocks are not searchable easily so. we'd rather have all searchable content documented outside of codeblocks as well.
Once I ship i18n I'll reorg the docs. We need something better before translation our own website :)
stnor commentedon May 6, 2021
I don't understand how to translate or override the blogSidebarTitle in 2.x for the default blog. Any hints would be appreciated. I also notice that the example 2.x Docusarurus website doesn't translate it either.
Eg: https://docusaurus.io/fr/blog
slorber commentedon May 6, 2021
@stnor it looks like you are right and it's not possible.
Just reported it here alongside other items that are not translatable: #4542 (comment)
stnor commentedon May 6, 2021
slorber commentedon May 6, 2021
stnor commentedon May 6, 2021
slorber commentedon May 7, 2021