Skip to content
Snippets Groups Projects
Commit 1ae15a20 authored by TGermain's avatar TGermain
Browse files

rtd correction for building

parent 410c0852
No related branches found
No related tags found
No related merge requests found
......@@ -15,11 +15,6 @@ import os
import sys
sys.path.insert(0, os.path.abspath('..'))
# math
from sphinx_math_dollar import NODE_BLACKLIST
from docutils.nodes import header,FixedTextElement, literal,math
from docutils.nodes import comment, doctest_block, image, literal_block, math_block, paragraph, pending, raw, rubric, substitution_definition, target
math_dollar_node_blacklist = (literal,math,doctest_block, image, literal_block, math_block, pending, raw,rubric, substitution_definition,target)
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
......@@ -30,6 +25,10 @@ exclude_patterns = []
autodoc_member_order = 'bysource'
# math
from sphinx_math_dollar import NODE_BLACKLIST
from docutils.nodes import header,FixedTextElement, literal,math
from docutils.nodes import comment, doctest_block, image, literal_block, math_block, paragraph, pending, raw, rubric, substitution_definition, target
mathjax_config = {
'tex2jax': {
'inlineMath': [ ["\\(","\\)"] ],
......
......@@ -69,7 +69,9 @@ class Indice(metaclass=ABCMeta):
class Ndvi(Indice):
"""
$$NDVI = {{NIR-VIR}\over{NIR+VIR}}$$
.. math::
{NDVI = {NIR-VIR}\over{NIR+VIR}}
NIR: band 08 (10m)
VIR: band 04 (10m)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment