diff --git a/docs/requirements.txt b/docs/requirements.txt index 8acfb13..0807cc5 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1 @@ -#pydata-sphinx-theme==0.7.1 -ampl-sphinx-theme @ git+https://github.com/ampl/ampl.github.io.git#subdirectory=ampl-sphinx-theme -sphinx==5.0.0 -myst_parser>=0.17.0 -sphinx_design==0.3.0 +ampl-sphinx-theme @ git+https://github.com/ampl/ampl.github.io.git#subdirectory=themes/ampl_sphinx_theme diff --git a/docs/source/conf.py b/docs/source/conf.py index 4becfec..ffe9332 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -95,23 +95,17 @@ # html_theme = u'sphinxdoc' html_theme = "ampl_sphinx_theme" html_theme_options = { - "logo_link": "index", "icon_links": [ { "name": "GitHub", "url": "https://github.com/ampl/rAMPL", "icon": "fab fa-github", }, - { - "name": "AMPL Resources", - "url": "https://dev.ampl.com", - "icon": "fas fa-book fa-fw", - "target": "_self", - }, ], "collapse_navigation": True, "logo_text": "R API", } +html_context = {"default_mode": "light"} html_baseurl = "https://rampl.ampl.com/en/latest/" diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 48c2e28..727840d 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -1,7 +1,7 @@ .. _secExamplesR: -R API Examples -============== +Examples +======== This section lists a few examples in R. These are the same files that can be found in the *examples* directory of the diff --git a/docs/source/reference.rst b/docs/source/reference.rst index 51d0c6f..4735c88 100644 --- a/docs/source/reference.rst +++ b/docs/source/reference.rst @@ -1,7 +1,7 @@ .. _secReferenceR: -R API Reference -=============== +API Reference +============= AMPL classes ------------