Skip to content

Commit

Permalink
The error is still about recommonmark because we didn't remove all re…
Browse files Browse the repository at this point in the history
…ferences to it in conf.py. Let's completely remove recommonmark and simplify the configuration:

conf.py
The key changes are:
Removed all recommonmark imports and configuration
Kept only m2r2 for markdown handling
Simplified the setup function to only handle the copy_examples functionality
This should resolve the configuration error. The main issue was that we still had code trying to import recommonmark even though we removed it from requirements.txt.
Let me know if you still get any errors after making these changes.
  • Loading branch information
endolith committed Nov 18, 2024
1 parent 3377594 commit 4ccb25b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,7 @@
'.md': 'm2r2.parser.MarkdownParser'
}

# Enable markdown support in RST
extensions.append('recommonmark')

# Configure recommonmark
import recommonmark
from recommonmark.transform import AutoStructify

# Keep only the copy_examples function
def setup(app):
app.connect('build-finished', copy_examples)

Expand Down

0 comments on commit 4ccb25b

Please sign in to comment.