-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix of pydoctor crash when creating symlink to index.html #809
Merged
tristanlatr
merged 16 commits into
twisted:master
from
rocketengineer1982:fix-symlink-index-html
Sep 13, 2024
Merged
Changes from 2 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9a88d79
Fix of pydoctor crash when creating symlink to index.html
937b90b
Renamed writeIndexPage to writeIndexSymlink for improved clarity.
0193d7b
Added writeIndexSymlink to InMemoryWriter.
13d479d
Added call to writeIndexSymlink to mirror usage in make.
2a6abe7
Removing unnecessary system message when root_module.html is not found.
rocketengineer1982 4a1eeb7
Added an if statement to avoid calling writeIndexSymlink when option …
de4f0ba
Added writeIndexSymlink to IWriter.
848bc05
Changed index.html from symlink to hardlink
0816417
Merge branch 'master' into fix-symlink-index-html
rocketengineer1982 d32d495
Merge branch 'fix-symlink-index-html' of https://github.com/rocketeng…
73d2120
Fixed bug involving incomplete index.html path in writeIndexHardlink
9bb5b82
Update pydoctor/templatewriter/__init__.py
rocketengineer1982 b4dcf19
Update pydoctor/templatewriter/writer.py
rocketengineer1982 d98e319
Update pydoctor/test/__init__.py
rocketengineer1982 51bf91d
Add option --use-hardlinks and add changelog enrty.
tristanlatr 54a5f50
Fix tests
tristanlatr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you try this with option
--html-subjects
? It seems that it will run into the same error because we don't generate index.html in these cases.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you're right. There needs to be an if statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.