coriolis/documentation/pelicanconf.py

137 lines
4.0 KiB
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
import os.path
import socket
pelicanDir = os.path.abspath( os.getcwd() )
hostname = socket.gethostname()
if pelicanDir.endswith('coriolis/documentation'):
pluginsDir = '/dsk/l1/pelican/pelican-plugins'
outputDir = 'output/'
siteUrl = ''
elif hostname.startswith('lepka'):
pluginsDir = '/dsk/l1/pelican/pelican-plugins'
outputDir = '/dsk/l1/httpd/coriolis'
siteUrl = 'http://localhost/coriolis'
else:
pluginsDir = '/data/git/pelican-plugins'
outputDir = 'output/'
siteUrl = ''
PLUGIN_PATHS = [ pluginsDir ]
PLUGINS = [ 'bootstrap-rst' ]
STATIC_PATHS = [ 'pages/users-guide'
, 'pages/python-tutorial'
, 'pages/python-cpp'
, 'pages/stratus'
, 'pages/rds'
Clarify semantic of flatten Collections (walkthrough). In the Cell/Instance hierarchy, the "terminal" and "leaf cell" concepts where not clearly defined and partially overlapping. Now, "Terminal" is the refer to the physical hierarchy (layout) and "TerminalNetlist" to the logical hierarchy (netlist). The logical hierarchy can be less deep than the physical one thanks to a Cell dedicated cell flags. Collections related to the physical hierarchy keep their old names, the one related to the logical hierarchy are renamed from "Leaf" to "TerminalNetlist". The name "Leaf" was too ambiguous (leaf for *what* hierarchy). * Change: In Hurricane::Device, set the "TerminalNetlist" flag once and for all. No need set it in all the derived classes again. * New: In Hurricane::MultiCapacitor, added new parameter "dummy" to create dummies around the capacity matrix. * Change: In Hurricane::Cell, remove "Leaf" related methods, replace them by "TerminalNetlist" one, especially Collections. Now we have two clear sets of Collections to walkthough the layout or the netlist. Change the "Terminal" flag into "TerminalNetlist". * Change: In Hurricane::CellCollections, rename "Leaf" into "TerminalNetlist" collections and apply the new semantic to the locators. * Change: In Hurricane::DataBase, Leaf to TerminalInstance renaming. * Change: In Hurricane::DeepNet, Leaf to TerminalInstance renaming. * Change: In Hurricane::HyperNet, Leaf to TerminalInstance renaming. * Change: In Hurricane::Instance, Leaf to TerminalInstance renaming. * Change: In Hurricane::Viewer::HierarchyInformations, Leaf to TerminalInstance renaming. * Change: In CRL::AllianceFramework, Leaf to TerminalInstance renaming. * Change: In CRL::Catalog, Leaf to TerminalInstance renaming. * Change: In CRL::ApParser, Leaf to TerminalInstance renaming. * Change: In EtesianEngine::AddFeeds, Leaf to TerminalInstance renaming. * Bug: In EtesianEngine::resetPlacement, move there the loop over non terminal netlist instances to flag fully placed sub-blocks as terminal for the netlist. Only then remove the feed cells from unplaced instances. Previously, the feed cells where stripped even from already placed instances. * Change: In Katana, Leaf to TerminalInstance renaming. * Bug: In Bora::PyDSlicingNode, allow the range parameter to be the Python None object when we do not want to pass one but need to have it as positional parameter. * Change: In Cumulus/clocktree/ClockTree.py, Leaf to TerminalInstance renaming.
2020-03-10 06:10:53 -05:00
, 'scripts'
, 'images'
, 'pdfs'
]
AUTHOR = u'Jean-Paul Chaput'
SITENAME = u'Coriolis VLSI CAD Tools [offline]'
SITEURL = siteUrl
THEME = 'nest-coriolis'
#THEME = 'nest'
#THEME = 'dev-random'
#THEME = 'brutalist'
DELETE_OUTPUT_DIRECTORY = True
ARTICLE_EXCLUDES = [ ]
PATH = 'content'
PAGE_PATHS = [ 'pages' ]
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DISPLAY_PAGES_ON_MENU = True
# Blogroll
#SOCIAL = (('Pelican' , 'http://getpelican.com/' ),
# ('Python.org', 'http://python.org/' ),
# ('Jinja2' , 'http://jinja.pocoo.org/'),)
SOCIAL = None
# Social widget
LINKS = (('Alliance/Coriolis' , 'https://coriolis.lip6.fr/'),
('CIAN Team Website' , 'https://www-soc.lip6.fr/' ),
('Free Silicon Foundation', 'https://f-si.org' ),)
DEFAULT_PAGINATION = 10
IGNORE_FILES = [ 'UsersGuide.rst' # For User's Guide.
, 'definitions.rst'
, 'Abstract.rst'
, 'DesignFlow.rst'
, 'HTML_defs.rst'
, 'Pelican_defs.rst'
, 'Installation.rst'
, 'LicenseCredits.rst'
, 'Releases.rst'
, 'ScriptsPlugins.rst'
, 'ViewerTools.rst'
, 'PythonTutorial.rst' # For Python Tutorial
, 'Introduction.rst'
, 'Environment.rst'
, 'CellNetComponent.rst'
, 'Collections.rst'
, 'CgtScript.rst'
, 'Netlist.rst'
, 'RealDesigns.rst'
, 'ToolEngines.rst'
, 'AdvancedTopics.rst'
, 'AdvancedTopics.rst'
, 'pdfHeader.rst'
, 'PythonCpp.rst' # For Python/C++ Tutorial
, 'Introduction.rst'
, 'Configuration.rst'
, 'DBoStandalone.rst'
, 'DBoHierarchy.rst'
, 'NonDBo.rst'
, 'DbU.rst'
, 'Name.rst'
, 'Stratus.rst' # For Stratus.
, 'Developper.rst'
, 'DpGen.rst'
, 'Language.rst'
, 'Patterns.rst'
, 'RDS.rst' # For RDS.
, 'RDSpage.rst'
, 'Installation.rst' # For Alliance.
]
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
NEST_INDEX_HEADER_TITLE = u'Alliance/Coriolis VLSI CAD Tools'
NEST_HEADER_LOGO = '/images/common/Coriolis-logo-white-4-small.png'
NEST_HEADER_IMAGES = 'common/layout-motif-faded-4.png'
NEST_LINKS_COLUMN_TITLE = u'Links'
NEST_SOCIAL_COLUMN_TITLE = u'Social'
NEST_SITEMAP_COLUMN_TITLE = u'Social'
NEST_COPYRIGHT = u'Copyright © 2020-2020 Sorbonne Universite'
MENUITEMS = [ ('Git' , '/pages/gitlab.html' )
, ('Documentation', '/pages/documentation.html' ) ]