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

Indicate blog customization in the documentation #3643

Closed
rafaelrdealmeida opened this issue Oct 27, 2020 · 9 comments · Fixed by #5219
Closed

Indicate blog customization in the documentation #3643

rafaelrdealmeida opened this issue Oct 27, 2020 · 9 comments · Fixed by #5219
Labels
documentation The issue is related to the documentation of Docusaurus

Comments

@rafaelrdealmeida
Copy link

rafaelrdealmeida commented Oct 27, 2020

📚 Documentation

Hello, the docusaurus documentation is very good, congratulations to the contributors.

But I have some difficulty understanding the files and settings to personalize the blog.

Have you read the Contributing Guidelines on issues?

yes

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/',
        },

BlogListPage
BlogListPaginator
BlogPostItem
BlogPostPage
BlogSidebar
BlogTagsListPage
BlogTagsPostsPage

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?

see:

@rafaelrdealmeida rafaelrdealmeida added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels Oct 27, 2020
@slorber
Copy link
Collaborator

slorber commented 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
Copy link
Author

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
Copy link
Collaborator

slorber commented 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
Copy link
Contributor

stnor commented 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
Copy link
Collaborator

slorber commented 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

This comment has been minimized.

@slorber

This comment has been minimized.

@stnor

This comment has been minimized.

@slorber

This comment has been minimized.

@Josh-Cena Josh-Cena removed the status: needs triage This issue has not been triaged by maintainers label Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation The issue is related to the documentation of Docusaurus
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants