Closed gmuloc closed 2 weeks ago
Review docs on Read the Docs
To test this pull request:
# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4104
# Activate the virtual environment
source test-avd-pr-4104/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@add_md_toc_filter#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,add_md_toc_filter --force
# Optional: Install AVD examples
cd test-avd-pr-4104
ansible-playbook arista.avd.install_examples
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Conflicts have been resolved. A maintainer will review the pull request shortly.
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Change Summary
Move jinja filter code for arista.avd.add_md_toc to PyAVD
Related Issue(s)
Fixes #
Component(s) name
arista.avd.add_md_toc
Proposed changes
Moving the code and unit tests for arista.avd.add_md_toc filter to PyAVD
How to test
Refactored pytest + things should break
Checklist
Repository Checklist