[BUG] markdown_uri_doc_suffix and markdown_file_suffix ignored
Describe the bug markdown_uri_doc_suffix and markdown_file_suffix ignored
To Reproduce Steps to reproduce the behavior: Filename: docs/conf.py
extensions = [
...,
"sphinx_markdown_builder",
]
# -- Options for sphinx-markdown-builder -------------------------------------
# Configuration for the sphinx-markdown-builder extension
markdown_uri_doc_suffix = ".txt"
markdown_file_suffix = ".txt"
Command
sphinx-build -M markdown ./docs ./build -a -D markdown_file_suffix=".txt" -D markdown_uri_doc_suffix=".txt"
Result
Files still have .md extension, instead of .txt.
Expected behavior
I expect the files to have .txt extension.
Environment (please complete the following information):
- OS: macOS Sequoia
- Version 15.7.2 (24G325)
Additional context
- Python version: Python 3.12.12
- Sphinx version: 5.3.0
- pip list:
Sphinx 5.3.0
sphinx-autobuild 2024.10.3
sphinx-markdown-builder 0.6.8
sphinx-no-pragma 0.1.1
sphinx-rtd-theme 2.0.0
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jquery 4.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
As far as markdown_file_suffix goes it was added two months ago in https://github.com/liran-funaro/sphinx-markdown-builder/pull/40, but a new release hasn't been cut since January.
Ah... Why not release now? :) @liran-funaro
I can indeed confirm, that with pip install https://github.com/liran-funaro/sphinx-markdown-builder/archive/refs/heads/main.zip it works.
I glad it works well. I didn't have time to do the release. I'll try to attend to it this week or the next one.
Fix released v0.6.9