-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the docs and man pages available in the macos bundle as well
- Loading branch information
1 parent
1f499a7
commit 3288400
Showing
5 changed files
with
31 additions
and
2 deletions.
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
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
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
3288400
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.
@kovidgoyal
Is it possible to build a macOS App without building the documentation?
Since I need to build the app frequently when developing under macOS, I would like to keep the documentation from becoming a hard dependency so as to shorten the feedback loop, thanks.
Also I have seen that in some Linux distributions the documentation for the software will be separated into a different package. When the documentation is not needed, the user can choose not to install it.
It is suggested in the build page that linux packagers can provide
kitty-shell-integration
independently, no wonder the shell integration folder is assumed can be removed from the main package.3288400
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.
3288400
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.
I need to comment out
copy_man_pages
andcopy_html_docs
lines to avoid building the documentation.Oh, it's copying the document that has been built. I instead ran the following command before
make app
.3288400
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.
3288400
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.
Thank you for your reply. These are obvious, in the code.
The lack of its own documentation in the kitty macOS release package has been on my list for a long time, and I'm glad that this issue has been resolved in the recent changes.
Yes, so
sphinx
will be a build-time dependency to run kitty.app from source code and is no longer optional.Maybe add this to the documentation, before others start questioning this.
Do you think that it is possible to remove
Contents/Resources/Python/lib/python3.9/kitty_tests/
from the macOS (and also Linux) release packages? This folder has some fonts for testing.There are a lot of empty folders under
lib/python3.9
that don't seem to be needed either, maybe I'm wrong.3288400
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.
3288400
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.
Linux releases:
https://github.com/kovidgoyal/kitty/releases/download/nightly/kitty-nightly-x86_64.txz
https://github.com/kovidgoyal/kitty/releases/download/v0.25.2/kitty-0.25.2-x86_64.txz
See the font files and empty folders in the tarball.
It looks like
lib/python3.9
could be removed.3288400
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.