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

fix(docs): header-nav #7082

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const packages = [

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'web3.js',
title: 'Web3.js',
tagline: 'Powerful TypeScript libraries for Ethereum interaction and utility functions',
url: 'https://docs.web3js.org',
baseUrl: '/',
Expand All @@ -52,7 +52,7 @@ const config = {
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'ChainSafe', // Usually your GitHub org/user name.
projectName: 'web3.js', // Usually your repo name.
projectName: 'Web3.js', // Usually your repo name.

// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
Expand Down Expand Up @@ -109,37 +109,36 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'Web3.js Docs',
title: 'Web3.js Docs',
logo: {
src: 'img/web3js.svg',
},
items: [
{
to: '/',
activeBasePath: '/',
to: '/guides/getting_started/quickstart',
activeBasePath: '/guides',
label: 'Guides & Tutorials',
position: 'left',
},
{
to: '/libdocs/ABI',
activeBasePath: '/libdocs/',
activeBasePath: '/libdocs',
label: 'Documentation',
position: 'left',
},
{
to: 'api', // 'api' is the 'out' directory
to: '/api', // 'api' is the 'out' directory
label: 'API',
position: 'left',
},
{
to: 'glossary',
activeBasePath: '/glossary/',
to: '/glossary',
activeBasePath: '/glossary',
label: 'Glossary',
position: 'left',
},
{
to: '/web3_playground',
activeBasePath: '/',
label: 'Playground',
position: 'right',
},
Expand Down
Loading