pyenv-virtualenv for Windows 1.2
A 'pyenv' plugin to manage Python virtual environments, depending on different Python versions, for various Python projects.
Loading...
Searching...
No Matches
open_doxygen_docs.bat
Go to the documentation of this file.
1@echo off
2setlocal
3REM Windows Command Line Script (Batch) to open the documentation
4REM in the default web browser.
5REM
6REM It does not wait and returns immediately.
7REM
8REM Dependencies:
9REM * Default web browser
10REM
11REM © 2025 Michael Paul Korthals. All rights reserved.
12REM See documentation for legal details.
13REM 2025-07-08
14REM
15REM This script is located in the sub folder "docs"
16REM in the project main directory.
17REM
18REM Simply open it in Windows Explorer or call it by command:
19REM > pyenv virtualenv --docs
20
21set "FILE_PATH=%~dp0\html\index.html"
22if not exist %FILE_PATH% goto error1
23REM Show what is going on here
24echo ␛[37mINFO Opening documentation in default web browser ...␛[0m
25REM Open the documentation
26start "Doxygen Documentation" "%FILE_PATH%"
27echo ␛[92mSUCCESS DONE.␛[0m
28endlocal
29exit /b 0
30REM Error messages
31:error1
32echo.
33echo ␛[91mERROR Cannot find the documention index HTML file.␛[0m
34echo ␛[37mINFO Check/Reinstall the program.␛[0m
35echo.
36pause
37endlocal
38exit /b 1