You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that is not working with any of the !include possibilities, I always get this same error:
INFO - Building documentation...INFO - Cleaning site directoryINFO - The following pages exist in the docs directory, but are not included in the "nav"configuration:
- keep_data_updated.md
- workflow_deepdive.mdERROR - Error reading page 'cr-customer-booksuite/index.md': 'NoneType'object has noattribute 'endswith'Traceback (most recent call last):
File "/opt/anaconda3/envs/c1wv2/bin/mkdocs", line 8, in <module>sys.exit(cli())File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/click/core.py", line 829, in __call__return self.main(*args, **kwargs)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/click/core.py", line 782, in mainrv = self.invoke(ctx)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/click/core.py", line 1259, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/click/core.py", line 1066, in invokereturn ctx.invoke(self.callback, **ctx.params)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/click/core.py", line 610, in invokereturn callback(*args, **kwargs)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/__main__.py", line 181, in serve_commandserve.serve(dev_addr=dev_addr, livereload=livereload, watch=watch, **kwargs)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/commands/serve.py", line 63, in serveconfig = builder()File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/commands/serve.py", line 58, in builderbuild(config, live_server=live_server, dirty=dirty)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/commands/build.py", line 292, in build_populate_page(file.page, config, files, dirty)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/commands/build.py", line 163, in _populate_pagepage = config['plugins'].run_event(File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs/plugins.py", line 102, in run_eventresult = method(item, **kwargs)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/plugin.py", line 71, in on_pre_pageset_edit_url(config, page, self)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/edit_uri.py", line 105, in set_edit_urlpage.edit_url = edit_url.build()File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/edit_uri.py", line 98, in buildif self.__has_repo():
File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/edit_uri.py", line 85, in __has_repopage_config_file_yaml = self.__get_page_config_file_yaml()File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/edit_uri.py", line 82, in __get_page_config_file_yamlreturn self.__load_page_config_file(f)File "/opt/anaconda3/envs/c1wv2/lib/python3.8/site-packages/mkdocs_monorepo_plugin/edit_uri.py", line 68, in __load_page_config_fileand not page_repo_url.endswith('/'):
AttributeError: 'NoneType'object has no attribute 'endswith'
Hi everyone!
I'm currently using the latest version released of the plugin (v1.0.4) and my
mkdocs.yml
file has this line inside the navigation part.The problem is that is not working with any of the
!include
possibilities, I always get this same error:I was reading some ways to address this problem, and found this two issues: #77 and backstage/mkdocs-techdocs-core#62
I think they are related to this error, but other than installing the v1.0.0 version, does anyone know a different way to fix this?
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: