X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Fconf.py;h=15261babb3e3c13908e157ee3cfbb7ff80c75c53;hb=refs%2Fheads%2Fi-release;hp=b7d7c49ef8e330c6c89985f571fff9f6825da22a;hpb=ac245e1479225466740ca4c7a1080386b3e95af9;p=nonrtric%2Fplt%2Frappmanager.git diff --git a/docs/conf.py b/docs/conf.py index b7d7c49..15261ba 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,13 +18,16 @@ from docs_conf.conf import * #branch configuration -branch = 'latest' +branch = 'i-release' +baseurl = 'https://docs.o-ran-sc.org/projects/' +selfurl = '%s/o-ran-sc-nonrtric-plt-rappmanager/en/%s' %(baseurl, branch) linkcheck_ignore = [ 'http://localhost.*', 'http://127.0.0.1.*', 'https://gerrit.o-ran-sc.org.*', - './rappmanager-api.html', #Generated file that doesn't exist at link check. + # '.*participants.*', # Participants site may not be built yet + './rappmanager-api.html', # Generated file that doesn't exist at link check. ] extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',] @@ -43,4 +46,6 @@ redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js #intershpinx mapping with other projects intersphinx_mapping = {} -intersphinx_mapping['nonrtric'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/%s' % branch, None) +intersphinx_mapping['nonrtric'] = ('%s/o-ran-sc-nonrtric/en/%s' %(baseurl, branch), None) +intersphinx_mapping['participants'] = ('%s/participants' % selfurl, None) +intersphinx_disabled_reftypes = ["*"]