Skip to content

Commit

Permalink
Update ampl-sphinx-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed Oct 28, 2024
1 parent f0234e6 commit d7b4853
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
6 changes: 1 addition & 5 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
8 changes: 1 addition & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Expand Down
4 changes: 2 additions & 2 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/reference.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _secReferenceR:

R API Reference
===============
API Reference
=============

AMPL classes
------------
Expand Down

0 comments on commit d7b4853

Please sign in to comment.