doxicity
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-beta.6 • Public • Published

Doxicity 📗

Doxicity is a static site generator that turns markdown files into an HTML website. You can configure it, add data, layouts, partials, plugins, and use Handlebars {{expressions}} to do amazing things.

Designed in New Hampshire by Cory LaViska.


Installation

To install Doxicity, run the following command. This assumes you have Node.js installed.

npm i doxicity

Usage

Here's a quick example to get you started with Doxicity.

import Doxicity from 'doxicity';

const __dirname = new URL('.', import.meta.url).pathname;

// Configure it
const dox = new Doxicity({
  source: Doxicity.resolve(__dirname),
  destination: Doxicity.resolve(__dirname, '_site'),
  baseUrl: 'https://example.com/'
  // more options here...
});

// Publish it
dox
  .publish()
  .then(result => {
    console.log(
      `Pages published: ${result.pages.length}\n` +
        `Assets copied: ${result.assets.length}\n` +
        `Duration: ${result.timeToPublish}ms\n`
    );
  })
  .catch(err => {
    console.clear();
    console.log(err.message);
  });

For more details, please see the documentation.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.0-beta.60latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.0-beta.60
2.0.0-beta.50
2.0.0-beta.40
2.0.0-beta.33
2.0.0-beta.20
2.0.0-beta.10
1.0.0-beta.40
1.0.0-beta.30
1.0.0-beta.20
1.0.0-beta.10

Package Sidebar

Install

npm i doxicity

Weekly Downloads

3

Version

2.0.0-beta.6

License

MIT

Unpacked Size

129 kB

Total Files

87

Last publish

Collaborators

  • claviska