Shu-Chun Wu
12/04/2024, 3:02 PMsphinx-apidoc --module-first -o source ../src/<package_name> to generate .rst file.
But when I do make html , I received this error message:
make: The term 'make' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Is there any package that I need to install? Or I must do some steps first?Hall
12/04/2024, 3:02 PMSajid Alam
12/04/2024, 3:50 PMsphinx-quickstart docs? You can try following our docs to setup it up:
https://docs.kedro.org/en/stable/tutorial/package_a_project.html#set-up-the-sphinx-project-filesShu-Chun Wu
12/05/2024, 11:11 AMsphinx-quickstart docs This is used to generate the docs/conf.py, right? I already have this file.Merel
12/09/2024, 1:31 PMmake itself isn't installed. Installation depends on your OS:
Windows
1. Install a build system like Make:
• Install MinGW or Cygwin, which includes `make`:
• For MinGW:
• Download and install MinGW.
▪︎ During the installation, ensure the make package is selected.
• For Cygwin:
• Download and install Cygwin.
◦ During setup, search for and select the make package.
• Alternatively, use Chocolatey or Scoop package managers to install `make`:
• choco install make
• # or
◦ scoop install make
2. Add Make to the PATH:
• Add the bin directory of your installed tool (MinGW, Cygwin, or others) to your system PATH:
▪︎ Right-click This PC > Properties > Advanced System Settings > Environment Variables.
◦ Under System Variables, find Path, click Edit, and add the path to make.exe.
3. Verify Installation:
• Open a new terminal and run:
◦ make --version
Linux
1. Install Make:
• Most Linux distributions include make by default. If not, install it via your package manager:
• sudo apt install make # Ubuntu/Debian
• sudo yum install make # CentOS/RHEL
◦ sudo dnf install make # Fedora
2. Verify Installation:
• Run:
◦ make --version
macOS
1. Install Xcode Command Line Tools:
• Run:
◦ xcode-select --install
◦ This will install the necessary developer tools, including make.
2. Verify Installation:
• Run:
◦ make --version
After completing these steps, retry your command. If the problem persists, ensure you're in the correct directory and that the Makefile you’re trying to execute exists.Shu-Chun Wu
12/09/2024, 3:30 PMmake: *** No rule to make target 'html'. Stop.
I have .rst files and I entered docs folder to run make htmlMerel
12/09/2024, 5:03 PMMakefile exist in that folder? And can you check it contains the html rule?Shu-Chun Wu
12/10/2024, 1:46 PMMerel
12/10/2024, 1:55 PMsphinx-quickstart docs it will create the Makefile for you inside the docs directory.Shu-Chun Wu
12/10/2024, 2:20 PM