Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@docusaurus/theme-classic

Package Overview
Dependencies
Maintainers
4
Versions
1832
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@docusaurus/theme-classic

Classic theme for Docusaurus

  • 3.5.2-canary-6121
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is @docusaurus/theme-classic?

@docusaurus/theme-classic is a theme package for Docusaurus, a static site generator. It provides a classic look and feel for documentation websites, including features like a sidebar, navbar, search, and more. It is highly customizable and designed to work seamlessly with Docusaurus.

What are @docusaurus/theme-classic's main functionalities?

Sidebar

The sidebar feature allows you to create a collapsible and hideable sidebar for your documentation site. This is useful for organizing large amounts of content.

{
  "themeConfig": {
    "sidebar": {
      "hideable": true,
      "autoCollapseCategories": true
    }
  }
}

Navbar

The navbar feature allows you to create a customizable navigation bar at the top of your site. You can add links to different sections of your site, such as documentation and blog.

{
  "themeConfig": {
    "navbar": {
      "title": "My Site",
      "logo": {
        "alt": "My Site Logo",
        "src": "img/logo.svg"
      },
      "items": [
        {
          "to": "docs/",
          "label": "Docs",
          "position": "left"
        },
        {
          "to": "blog",
          "label": "Blog",
          "position": "left"
        }
      ]
    }
  }
}

Search

The search feature integrates Algolia search into your documentation site, allowing users to quickly find the information they need.

{
  "themeConfig": {
    "algolia": {
      "apiKey": "YOUR_API_KEY",
      "indexName": "YOUR_INDEX_NAME"
    }
  }
}

Other packages similar to @docusaurus/theme-classic

FAQs

Package last updated on 25 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc