File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed
Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ ### Added
2+
3+ - added ` llms.txt ` to make the documentation for llms more accessible.
Original file line number Diff line number Diff line change @@ -101,6 +101,29 @@ plugins:
101101 ansi : required
102102- replace-url
103103- autorefs
104+ - llmstxt :
105+ sections :
106+ Overview :
107+ - index.md
108+ - configuration.md
109+ - pytest.md
110+ - categories.md
111+ - code_generation.md
112+ - limitations.md
113+ Core Reference :
114+ - fix_assert.md
115+ - eq_snapshot.md
116+ - cmp_snapshot.md
117+ - in_snapshot.md
118+ - getitem_snapshot.md
119+ - outsource.md
120+ - customize_repr.md
121+ - types.md
122+ HowTo :
123+ - howto/*.md
124+ Extensions :
125+ - extra.md
126+ - third-party.md
104127
105128
106129extra :
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ dependencies = [
105105 " mike" ,
106106 " mkdocstrings[python]>=0.19.0" ,
107107 " mkdocs-autorefs" ,
108+ " mkdocs-llmstxt" ,
108109 " replace-url @ {root:uri}/docs/plugins" ,
109110 " black" ,
110111 " commitizen"
Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ def used_externals_in(source) -> Set[str]:
4040 return {
4141 u .args [0 ].value
4242 for u in usages
43- if u .args and isinstance (u .args [0 ], ast .Constant )
43+ if u .args
44+ and isinstance (u .args [0 ], ast .Constant )
45+ and isinstance (u .args [0 ].value , str )
4446 }
4547
4648
You can’t perform that action at this time.
0 commit comments