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

change the default Home title (and also other titles) #139

Closed
Ektoplasme opened this issue Mar 4, 2021 · 5 comments · Fixed by #195
Closed

change the default Home title (and also other titles) #139

Ektoplasme opened this issue Mar 4, 2021 · 5 comments · Fixed by #195
Assignees

Comments

@Ektoplasme
Copy link

Hello,

could we add the ability to change the default Home title?

title: 'Home',

Also here i get a "Title" above "Global" i don't know why
Screenshot 2021-03-04 at 11 47 23

Also is there a way to remove or rename the default navlink "API Documentation" ?

Thanks

@kurapatijayaram
Copy link

+1

1 similar comment
@zehuiguan
Copy link

+1

@rchancey
Copy link

rchancey commented Oct 6, 2021

+1.. yah a big oversight.. and same with the logo. I had to create a styles.css to make the log fit.
Can someone externalize the home into the config?

@ariansobczak-rst ariansobczak-rst self-assigned this Jan 17, 2022
@ariansobczak-rst
Copy link
Contributor

Hello,

could we add the ability to change the default Home title?

title: 'Home',

Also here i get a "Title" above "Global" i don't know why Screenshot 2021-03-04 at 11 47 23

Also is there a way to remove or rename the default navlink "API Documentation" ?

Thanks

Hi, regarding change page title you can configure it in jsdoc.json file e.g.

"templates": {
        "better-docs": {
            "title": "Your awesome page title", // HTML title

Home is added at the end to indicate the current route, here home page.

Good point with unnecessary title in the global page, it will be removed in related PR.

Regarding API Documentation we moved it to the configuration file as navDocumentationLabel default Documentation.

@robertozmc
Copy link

I think @Ektoplasme idea was to parametrize that hardcoded value "Home".

title: 'Home',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants