mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 10:47:14 +00:00
* docs: Add --cask in brew install command # Motivation As a Brewfile user, the current installation command in the documentation does not tell me that mitmproxy is a Cask, which is a bit of an inconvenience due to how Brewfile works. Adding a formulae in a Brewfile is done by adding the line `brew "<formulae>"` while adding a cask in a Brewfile is done by adding the line `cask "<cask>"` Contrarily to the behavior of the brew install command, adding a formulae line in the Brewfile will not check for a Cask if the formulae does not exist: it will just fail. # Impact The brew install command currently works by first checking if a "mitmproxy" formulae exists in the homebrew repository, then after finding out there is none, it checks for a "mitmproxy" cask in the homebrew repository. Adding the explicit `--cask` argument allows to skip the unnecessary formulae existence check, while being more convenient for Brewfile users. # TL;DR Adding the explicit `--cask` argument is useful to Brewfile users in such that they directly know that mitmproxy is a Cask, while not impacting users copy-pasting the command directly in their terminal (while also avoiding an unwanted check for a corresponding formulae before the cask installation). * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bucketassets | ||
| raw | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.py | ||
| modd.conf | ||
| README.md | ||
| setup.sh | ||
| upload-archive.sh | ||
| upload-stable.sh | ||
Mitmproxy Documentation
This directory houses the mitmproxy documentation available at https://docs.mitmproxy.org/.
Prerequisites
- Install hugo "extended".
- Windows users: Depending on your git settings, you may need to manually create a symlink from
/docs/src/examplesto/examples.
Editing docs locally
- Make sure the mitmproxy Python package is installed and the virtual python environment was activated. See CONTRIBUTING.md for details.
- Run
./build.pyto generate additional documentation source files. - Now you can change your working directory to
./srcand runhugo server -D.