Skip to content

Commit

Permalink
Rename compound.py to sphinxrenderer.py
Browse files Browse the repository at this point in the history
The module contains SphinxRenderer which handles all types of nodes
rather than compound nodes only.
  • Loading branch information
vitaut committed May 2, 2016
1 parent 055b843 commit 6b1c5bb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ flake8:
flake8 breathe/*.py \
breathe/directive/*.py \
breathe/finder/*.py \
breathe/renderer/compound.py \
breathe/renderer/sphinxrenderer.py \
breathe/renderer/filter.py \
breathe/parser/compound.py
4 changes: 2 additions & 2 deletions breathe/renderer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import textwrap

from ..node_factory import create_node_factory
from . import compound as compoundrenderer
from . import sphinxrenderer

from docutils import nodes

Expand All @@ -20,7 +20,7 @@ def __init__(

def create_renderer(self, node_stack, state, document, filter_, target_handler):

return compoundrenderer.SphinxRenderer(
return sphinxrenderer.SphinxRenderer(
self.project_info,
self,
create_node_factory(),
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sphinx.environment
from breathe.node_factory import create_node_factory
from breathe.parser.compound import linkedTextTypeSub, memberdefTypeSub, paramTypeSub, MixedContainer
from breathe.renderer.compound import SphinxRenderer
from breathe.renderer.sphinxrenderer import SphinxRenderer
from breathe.renderer.filter import OpenFilter
from docutils import frontend, nodes, parsers, utils
from sphinx.domains import CPPDomain
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from unittest import TestCase
from xml.dom import minidom

from breathe.renderer.compound import get_param_decl, get_definition_without_template_args
from breathe.renderer.sphinxrenderer import get_param_decl, get_definition_without_template_args
from breathe.parser.compoundsuper import memberdefType
from breathe.directives import PathHandler

Expand Down

0 comments on commit 6b1c5bb

Please sign in to comment.