npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

broxus-docs-kit-dev

v1.4.0-dev.28

Published

Broxus Docs Kit is a Vue.js and VitePress-based toolkit for streamlining Broxus project documentation. It offers ready-to-use templates and custom components, ensuring consistent, up-to-date, and clear documentation built on a user-friendly tech stack.

Downloads

253

Readme

Install

Prerequisites

Before you get started, please ensure that you have Node.js installed on your machine. In order to guarantee the successful execution of this package, it's highly recommended to use Node.js version 16.14.0 || >=18.0.0. You can check your Node.js version by running node -v in your terminal.

If you need to install or update Node.js, visit the official website for download instructions. If you need to manage multiple versions of Node.js on your machine, consider using a version manager like nvm or n.

With the right version of Node.js, you can install and use this package with confidence. Please follow the instructions below to install and run the broxus-docs-kit-dev package.

npm install --save-dev broxus-docs-kit-dev

Usage

npx broxus-docs-kit-dev

Alt text

Template

Alt text

This is a brief documentation for a template based on Vitepress. The template is organized into various folders and files, each with its specific functionality.

Folder Structure

  • docs/.vitepress - This directory holds all Vitepress specific configurations and theme related files.
  • docs/.vitepress/theme - Contains everything related to the theme, including Vue components and styles.
  • docs/.vitepress/theme/components - Here, all Vue components related to the theme are stored.
  • docs/.vitepress/theme/styles - This directory houses all the global styles.
  • docs/.vitepress/config.js - The main configuration file for the Vitepress documentation.
  • docs/src/ - A directory for user-specific files, potentially including custom components and styles.

All components and global styles are registered in the docs/.vitepress/theme/index.js file.

Vitepress Configuration (config.js)

The config.js file holds the main configuration settings for the Vitepress documentation. Here, you can define the title, base URL, description, and various other options for your documentation.

Adding Pages to the Sidebar

The sidebar property in themeConfig is used to define the structure and contents of the sidebar. Each item in the sidebar array corresponds to a sidebar link. The text and link properties of each item define the label and the path of the sidebar link respectively.

For instance, to add a new page to the sidebar:

sidebar: [
  {
    text: 'New Page',
    link: '/new-page.md',
  },
],

This will create a new sidebar link labeled "New Page" that links to "new-page.md".

Navigation Bar

The nav property in themeConfig is used to define the structure and contents of the navigation bar. Each item in the nav array corresponds to a navigation link.

Guides and API References

The docs/guides and docs/api-reference folders contain markdown files that serve as examples and mini-guides on how to create documentation pages and auto-generate API references.

Building and Running the Template

To build or run the template, navigate to the docs directory and use the following commands:

  • yarn build: This command builds a static version of the documentation and outputs it to the .vitepress/dist directory.
  • yarn dev: This command starts the development server.

Please ensure you have yarn installed on your machine before running these commands.