Socket
Socket
Sign inDemoInstall

sphinx-nbblog

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sphinx-nbblog

A small Sphinx extension to enable tags and archive in documentation such as for a blog.


Maintainers
1

Sphinx nbblog

A small Sphinx extension to enable tags and archive in documentation such as for a blog.

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install sphinx-nbblog

Usage

Add sphinx-nbblog somewhere in the extensions list in conf.py

extensions = [
    ...
    "sphinx_nbblog",
]

In an .rst file or in a .ipynb raw rst cell:

.. nbblog::
   :abstract: what is this about
   :date: 2023-09-23
   :tags: yes, no, maybe

In another file, such as archive.rst

Archive
=======

.. archive::

The abstract currently does nothing but at some point I will probably make it visible in the archive page.

Development

I use Hatch, pyenv, and LunarVim

hatch run lvim

Test

After installing the python versions with pyenv, run:

hatch run test:test

License

sphinx-nbblog is distributed under the terms of the MIT license.

Notes

This project is based on sphinx-tags

Keywords

FAQs


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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc