Hi all,

I have a sphinx project with 3 languages. All has been set up using sphinx 
and sphinx-intl. For some reasons I have to export the build directory (I'm 
compiling in html) and make it as small as possible. 

The size problem comes with the `_images` folder that is copied in all 
languages folder. The build folder looks like this:

help/build/html/
├── en
│   ├── genindex.html
│   ├── histogram.html
│   ├── _images
│   ├── index.html
│   ├── intro.html
│   ├── objects.inv
│   ├── searchindex.js
│   ├── _sources
│   ├── _static
│   └── ternary.html
├── it
│   ├── genindex.html
│   ├── histogram.html
│   ├── _images
│   ├── index.html
│   ├── intro.html
│   ├── objects.inv
│   ├── searchindex.js
│   ├── _sources
│   ├── _static
│   └── ternary.html
└── nl
 ├── genindex.html
 ├── histogram.html
 ├── _images
 ├── index.html
 ├── intro.html
 ├── objects.inv
 ├── searchindex.js
 ├── _sources
 ├── _static
 └── ternary.html



while the source folder is very simple:

├── conf.py
├── histogram.rst
├── img
├── index.rst
├── intro.rst
└── ternary.rst



all the images are in the *img* folder. 

One solution that comes in my mind is to copy a **single** `_images` folder 
during the build in the same directory of the languages. In this way the 
build will have a single images folder where all the languages can catch 
from.

I'm not able to do this with the conf.py and/or Makefile.

Someone has faced a similar issue? Are there other solutions for this 
particular problem?

Thanks for any suggestion

Cheers

Matteo


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to