|
28 | 28 | sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) |
29 | 29 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), 'src')) |
30 | 30 |
|
31 | | -import fs_register_api_client |
32 | | - |
33 | | -from fs_register_api_client.__version__ import __version__ |
| 31 | +import financial_services_register_api |
| 32 | +from financial_services_register_api.__version__ import __version__ |
34 | 33 |
|
35 | 34 | # -- Project information ----------------------------------------------------- |
36 | 35 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
|
41 | 40 | Lightweight Python client for the UK Financial Services Register RESTful API. |
42 | 41 | """ |
43 | 42 | github_url = 'https://github.com' |
44 | | -github_repo = f'{github_url}/sr-murty/fs-register-api-client' |
| 43 | +github_repo = f'{github_url}/sr-murty/financial-services-register-api' |
45 | 44 | github_version = 'main' |
46 | | -pypi_project = 'https://pypi.org/project/fs-register-api-client/' |
47 | | -project = fs_register_api_client.__name__ |
| 45 | +pypi_project = 'https://pypi.org/project/financial-services-register-api/' |
| 46 | +project = financial_services_register_api.__name__ |
48 | 47 | release = __version__ |
49 | 48 |
|
50 | 49 | # -- General configuration --------------------------------------------------- |
|
70 | 69 | .. |project| replace:: **{project}** |
71 | 70 | .. |project_description| replace:: {description} |
72 | 71 | .. |release| replace:: **{release}** |
73 | | -.. |github_release_target| replace:: https://github.com/sr-murthy/fs-register-api-client/releases/tag/{release} |
74 | | -.. |pypi_release_target| replace:: https://pypi.org/project/fs-register-api-client/{release} |
| 72 | +.. |github_release_target| replace:: https://github.com/sr-murthy/financial-services-register-api/releases/tag/{release} |
| 73 | +.. |pypi_release_target| replace:: https://pypi.org/project/financial-services-register-api/{release} |
75 | 74 | """ |
76 | 75 |
|
77 | 76 | # Publish author(s) |
|
160 | 159 | pygments_style = 'sphinx' |
161 | 160 |
|
162 | 161 | # A list of prefixes that are ignored when creating the module index. (new in Sphinx 0.6) |
163 | | -modindex_common_prefix = ["fs_register_api_client."] |
| 162 | +modindex_common_prefix = ["financial_services_register_api."] |
164 | 163 |
|
165 | | -doctest_global_setup = "import fs_register_api_client" |
| 164 | +doctest_global_setup = "import financial_services_register_api" |
166 | 165 |
|
167 | 166 | # If this is True, the ``todo`` and ``todolist`` extension directives |
168 | 167 | # produce output, else they produce nothing. The default is ``False``. |
|
178 | 177 | 'display_github': True, |
179 | 178 | 'github_url': 'https://github.com', |
180 | 179 | 'github_user': 'sr-murthy', |
181 | | - 'github_repo': 'fs-register-api-client', |
| 180 | + 'github_repo': 'financial-services-register-api', |
182 | 181 | 'github_version': 'main', |
183 | 182 | 'doc_path': 'docs', |
184 | 183 | 'conf_path': 'docs/conf.py', |
185 | 184 | 'project': project, |
186 | 185 | 'project_description': description, |
187 | 186 | 'release': release, |
188 | | - 'release_target': f'https://github.com/sr-murthy/fs-register-api-client/releases/tag/{release}' |
| 187 | + 'release_target': f'https://github.com/sr-murthy/financial-services-register-api/releases/tag/{release}' |
189 | 188 | } |
190 | 189 |
|
191 | 190 | # -- Options for HTML output ------------------------------------------------- |
192 | 191 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
193 | 192 |
|
194 | 193 | # General (non-theme) HTML output options |
195 | | -html_baseurl = 'https://fs-register-api-client.readthedocs.io' |
196 | | - |
197 | | -#html_sidebars = { |
198 | | -# "sources/getting-started": [], |
199 | | -# "sources/creating-continued-fractions": [], |
200 | | -# "sources/exploring-continued-fractions": [], |
201 | | -# "sources/sequences": [], |
202 | | -# "sources/contributing": [], |
203 | | -# #"sources/fs-register-api-client/*": ["sidebar-nav-bs"], |
204 | | -#} |
| 194 | +html_baseurl = 'https://financial-services-register-api.readthedocs.io' |
205 | 195 |
|
206 | 196 | # HTML theme options |
207 | 197 | html_theme = 'furo' |
208 | | -html_theme_options = { |
209 | | - #'collapse_navigation': True, |
210 | | - #'footer_end': ['author'], |
211 | | - #'footer_start': ['copyright', 'sphinx-version', 'theme-version'], |
212 | | - #'icon_links': [ |
213 | | - # { |
214 | | - # 'name': 'fs-register-api-client@GitHub', |
215 | | - # 'url': f'https://github.com/sr-murthy/fs-register-api-client', |
216 | | - # 'icon': 'fa-brands fa-github', |
217 | | - # }, |
218 | | - #], |
219 | | - #'navbar_persistent': ['search-button'], |
220 | | - #'navbar_align': 'content', |
221 | | - #'navbar_center': ['navbar-nav'], |
222 | | - #'navbar_end': ['theme-switcher', 'navbar-icon-links'], |
223 | | - #'navbar_start': ['navbar-logo'], |
224 | | - #'navigation_depth': 4, |
225 | | - #"primary_sidebar_end": ["indices", "sidebar-ethical-ads"], |
226 | | - #'secondary_sidebar_items': ['page-toc', 'edit-this-page', 'sourcelink'], |
227 | | - #'show_nav_level': 2, |
228 | | - #'show_toc_level': 2, |
229 | | - #'use_edit_page_button': False, |
230 | | -} |
| 198 | +html_theme_options = {} |
231 | 199 |
|
232 | 200 | #html_logo = '_static/logo.png' |
233 | 201 |
|
|
254 | 222 | html_copy_source = True |
255 | 223 |
|
256 | 224 | # Output file base name for HTML help builder - use the project name |
257 | | -htmlhelp_basename = 'fs-register-api-client' |
| 225 | +htmlhelp_basename = 'financial-services-register-api' |
0 commit comments