confluencebuilder
confluencebuilder copied to clipboard
Incompatible with sphinxcontrib-video 0.2.1
With the new sphinxcontrib-video==0.2.1
, the .. video::
directive gives:
video_key, _, _ = self.assets.add(source_path, self.docname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/adam/.virtualenvs/sphc/lib/python3.11/site-packages/sphinxcontrib/confluencebuilder/assets.py", line 87, in add
return self._handle_entry(abs_path, docname, standalone=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/adam/.virtualenvs/sphc/lib/python3.11/site-packages/sphinxcontrib/confluencebuilder/assets.py", line 276, in _handle_entry
hash_ = ConfluenceUtil.hash_asset(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/adam/.virtualenvs/sphc/lib/python3.11/site-packages/sphinxcontrib/confluencebuilder/util.py", line 60, in hash_asset
with asset.open('rb') as file:
^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'open'
sphinxcontrib-confluencebuilder==2.5.2