mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
Try it again
This commit is contained in:
parent
5fa272ca4b
commit
3fd930f4fb
@ -356,8 +356,9 @@ class DotNetPythonMapper(PythonMapperBase):
|
||||
return self.ref_name.split('.')[-1]
|
||||
|
||||
@property
|
||||
def abs_path(self):
|
||||
return os.path.join(os.path.sep, 'autoapi', self.pathname, 'index')
|
||||
def include_path(self):
|
||||
"""Return 'absolute' path without regarding OS path separator"""
|
||||
return '/'.join(['/autoapi', self.pathname, 'index'])
|
||||
|
||||
@staticmethod
|
||||
def transform_doc_comments(text):
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
{% for item in obj.children|sort %}
|
||||
{% if item.type != 'namespace' %}
|
||||
{{ item.abs_path }}
|
||||
{{ item.include_path }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
{% for item in obj.references|sort %}
|
||||
{% if item.type != 'namespace' %}
|
||||
{{ item.abs_path }}
|
||||
{{ item.include_path }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user