Skip to content

Commit

Permalink
Remove debug tags
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Jul 6, 2024
1 parent 62de4d1 commit 2afde78
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions _extensions/sphinx_literate/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ def write_doc(self, docname: str, doctree: Node) -> None:
def finish(self) -> None:
# Tangle only at the end to account for unordered definitions and inheritance
registry = CodeBlockRegistry.from_env(self.env)

# FIXME: Previous calls to _fix_missing_referees are not enough, so
# here we iterate over everything to force fix missing references
registry.try_fixing_all_missing()

for tangle_root in registry.all_tangle_roots():
Expand Down
1 change: 1 addition & 0 deletions _extensions/sphinx_literate/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def merge_registry(app, env, docnames, other):
@print_traceback
def process_literate_nodes(app: Sphinx, doctree, fromdocname: str):
registry = CodeBlockRegistry.from_env(app.builder.env)
registry.try_fixing_all_missing()
registry.check_integrity()

has_literate_node = False
Expand Down
2 changes: 0 additions & 2 deletions basic-3d-rendering/input-geometry/index-buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ Index Buffer
:tangle-root: 034 - Index Buffer - vanilla
:parent: 033 - Multiple Attributes - Option A - vanilla
:alias: Vanilla
:debug:
```

```{lit-setup}
:tangle-root: 034 - Index Buffer
:parent: 033 - Multiple Attributes - Option A
:debug:
```

````{tab} With webgpu.hpp
Expand Down

0 comments on commit 2afde78

Please sign in to comment.