From 67ec5e5b43738128a696aea19b299ee0ed8a17a0 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 7 Sep 2020 01:40:41 +1000 Subject: Finished adding new mechanism for allowing parts of views to be hidden. Changed name of element to "collection" and initial visibility attribute to "visible", and added them to documentation. Also added them to complay.py. Fixed issue with collection inside group, and improved initial view selection behaviour. Updated some internal layouts to demonstrate new features, including et3400, irrmaze, ltcasino, mekd3/mekd4, seawolf and vgmplay. Removed all uses of cpanel, marquee and overlay from internal layouts and removed them from complay.py to actively discourage use. Also cleaned up view names in layouts that were using them in place of spaces, and removed some superfluous name attributes on elements that won't do anything useful with an output value anyway. Made vgmplay cycle visualiser modes when visualiser screen is clicked. Fixed a copy/paste error in bus/rs232/hlemouse.cpp while I'm at it. --- docs/source/conf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/source/conf.py') diff --git a/docs/source/conf.py b/docs/source/conf.py index cad683ebecc..1a9730e288f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,9 +11,10 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import os.path +import sys -sys.path.insert(0, os.path.abspath('_ext')) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '_ext')) # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -31,8 +32,8 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', - 'edit_on_github', - 'sphinxcontrib.rsvgconverter' + 'sphinxcontrib.rsvgconverter', + 'edit_on_github' ] edit_on_github_project = 'mamedev/mame' -- cgit v1.2.3-70-g09d2