Replies: 4 comments 5 replies
-
I would try See: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_file_suffix For your second point, see #10906 -- help is welcomed! A |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, that doesn't seem to have made any difference. Running I'll also take a look at whether or not I can implement a solution to #10906. No promises ... :) |
Beta Was this translation helpful? Give feedback.
-
OK - got to the bottom of this, eventually. The setting needs to be in Is there a way to set this in the template settings file? |
Beta Was this translation helpful? Give feedback.
-
I haven't looked into any of these in great detail, but may be of use:
It may be easier in the long run to define a custom A |
Beta Was this translation helpful? Give feedback.
-
I'm trying to build a website, using React, that will act as an internal library of all documentation written with Sphinx. The idea is that each author will retain ownership and control of their git repositories but the build process, instead of emitting full HTML files, will instead emit React Typescript files that are then built as part of the website build process.
I've got a fairly simple React template and I've amended it to become the
layout.html
file:theme.conf
:then in
config.py
, I'm specifying the name of the HTML theme.However, when I run
sphinx-build source build
, the output files still have.html
as the file extension, and not.tsx
. I'm not sure why this isn't working ...Also, the images are put into "../_images" which may not work with the React site. Is there a configuration setting I can use to override that location?
Beta Was this translation helpful? Give feedback.
All reactions