Skip to content

Commit

Permalink
ext: SnippetBuiler should derived from DummyBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Mar 16, 2024
1 parent 341afe6 commit 09c6f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sphinxnotes/snippet/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from docutils import nodes
from sphinx.locale import __
from sphinx.util import logging
from sphinx.builders import Builder
from sphinx.builders.dummy import DummyBuilder

if TYPE_CHECKING:
from sphinx.application import Sphinx
Expand Down Expand Up @@ -150,7 +150,7 @@ def on_builder_finished(app:Sphinx, exception) -> None:
cache.dump()


class SnippetBuilder(Builder):
class SnippetBuilder(DummyBuilder): # DummyBuilder has dummy impls we need.
name = 'snippet'
epilog = __('The snippet builder produces snippets (not to OUTPUTDIR) for use by snippet CLI tool')

Expand Down

0 comments on commit 09c6f5c

Please sign in to comment.