We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278b891 commit 622f36dCopy full SHA for 622f36d
README.md
@@ -651,7 +651,7 @@ source_files = glob.glob("**/*.js")
651
docs = Docs()
652
for f in source_files:
653
# this assumes the file names are unique in code
654
- docs.add(f, citation="File " + os.path.name(f), docname=os.path.name(f))
+ docs.add(f, citation="File " + os.path.basename(f), docname=os.path.basename(f))
655
session = docs.query("Where is the search bar in the header defined?")
656
print(session)
657
```
0 commit comments