You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
To fully implement reference counting across all nodes, the doctree2md.py would eventually need to be fully deprecated. I think this is reasonable, as I am getting a decent grasp on how sphinx/docutils builders work.
Please referecne the issue below on deprecating doctree2md.py. #9
DISCONTINUED: This project is no longer maintained. The active version of this project is now being maintained at liran-funaro/sphinx-markdown-builder.
During my implementation of tables, I found it quite handy to add reference counting support through node arrays.
Instead of reference counting with integers, I am using arrays of nodes.
This solved two major challenges.
You can see a simple implementation of this with tables.
To detect how deep you are in the tree (at least with nodes of the same type), you can simply grab the length.
To grab the current node of a certain type, simply grab the last node from the array.
This has been so helpful with tables, I am thinking about adding this to all the nodes. Please give your feedback below.
The text was updated successfully, but these errors were encountered: