cea-hpc / pcocc

Run VMs on an HPC cluster
GNU General Public License v3.0
47 stars 14 forks source link

doc: '--' is translated into '–' on html documentation #11

Closed xdelaruelle closed 5 years ago

xdelaruelle commented 5 years ago

This issue was initially found on Modules online documentation. But as you also use Sphinx I think it could also be interesting for clustershell.

By default Sphinx applies a smartquotes (also called smartypants) mechanism to convert quotes and dashes to lang-specific entities. This is kinda bad for command-line description as it automatically translates -- into , which most of the times leads to an error on tools.

smartquotes has a significant impact on the Command line reference part of the pcocc documentation. For instance on the option description in the Instantiate or restore a virtual cluster (interactive mode) guide: the --alloc-script option is written –alloc-script.