- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
docs: Add spell checking prerequisites for building documentation #2222
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
docs: Add spell checking prerequisites for building documentation #2222
Conversation
c3650e3    to
    64adeeb      
    Compare
  
            
          
                docs/contributing.rst
              
                Outdated
          
        
      | Additionally, to build the documentation with proper spell checking, | ||
| you need to install: | ||
|  | ||
| - **Enchant Library** - This is required by the sphinxcontrib-spelling | ||
| extension via the pyenchant package. Installation instructions vary by | ||
| platform: | ||
|  | ||
| - **Windows**: The binary wheel includes a pre-compiled Enchant library. | ||
| - **macOS**: ``brew install enchant`` | ||
| - **Linux**: Use your distribution's package manager | ||
| (e.g., ``apt install enchant``) | ||
|  | ||
| - **FreeBSD**: ``pkg install enchant-2`` | ||
|  | ||
| - **FreeBSD**: ``pkg install enchant-2`` | ||
|  | 
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 think we should try to be more concise here. We're pretty far removed from enchant, so I think forwarding people to pyenchant's documentation is sufficient rather than trying to explain all the different methods. Does that seem reasonable to you?
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.
Yes i understand thats true
db03887    to
    13fc5c0      
    Compare
  
    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!
| Thank you @okotdaniel for identifying this issue! | 
| 
 You are welcome. | 
Description
This pull request updates the documentation to clarify prerequisites for building documentation with spell checking. The main change is the addition of instructions for installing the Enchant library, which is required by the
sphinxcontrib-spellingextension.Documentation improvements:
docs/contributing.rstdetailing how to install the Enchant library for different platforms (Windows, macOS, Linux, FreeBSD), including a link to the official installation guide.Fixes #2221
Checklist:
docs/changes.rst.