collective / sphinxcontrib-httpexample

Adds example directive for sphinx-contrib httpdomain
23 stars 20 forks source link

Allow the URL scheme (http or https) to be configured #18

Closed dokai closed 6 years ago

dokai commented 6 years ago

Adds a new configuration option, httpexample_scheme, which controls the URL scheme in the generated examples. This is a global option affecting all examples.

It defaults to http to maintain backward compatibility.

Fixes https://github.com/collective/sphinxcontrib-httpexample/issues/5

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.03%) to 96.897% when pulling df128ca5466b6aad088bcda9ed215e3eec3b8571 on dokai:scheme-config into 42a02baea36aa947cc4dee09d8b1cbf80cb66599 on collective:master.