Virtual Environments for Docs Projects
After 4 years of maintaining a single MkDocs documentation project, it finally happened: I was tasked with setting up a second project. And this means handling different project dependencies.
Working with documentation in a docs-as-code environment usually involves Static Site Generators such as MkDocs or Sphinx. These tools transform plain text files into documentation websites. But they usually also come with dependencies - and that’s where virtual environments come in. Virtual environments are self-contained workspaces for Python projects.