diff --git a/doc/Installation/Install-LibreNMS.md b/doc/Installation/Install-LibreNMS.md index afd367fba8..911bcc1e2f 100644 --- a/doc/Installation/Install-LibreNMS.md +++ b/doc/Installation/Install-LibreNMS.md @@ -14,7 +14,7 @@ Connect to the server command line and follow the instructions below. > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.3** +**Please note the minimum supported PHP version is @= php.version_min =@** ## Install Required Packages diff --git a/doc/Installation/Installation-CentOS-6-Apache-Nginx.md b/doc/Installation/Installation-CentOS-6-Apache-Nginx.md index 8ead9a4ada..63312b8328 100644 --- a/doc/Installation/Installation-CentOS-6-Apache-Nginx.md +++ b/doc/Installation/Installation-CentOS-6-Apache-Nginx.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 5.6.4** +**Please note the minimum supported PHP version is @= php.version_min =@** # On the DB Server diff --git a/doc/Installation/Installation-CentOS-7-Apache.md b/doc/Installation/Installation-CentOS-7-Apache.md index a11b4db93c..26e3461ffc 100644 --- a/doc/Installation/Installation-CentOS-7-Apache.md +++ b/doc/Installation/Installation-CentOS-7-Apache.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.2.5** +**Please note the minimum supported PHP version is @= php.version_min =@** ## Install Common Required Packages ## diff --git a/doc/Installation/Installation-CentOS-7-Nginx.md b/doc/Installation/Installation-CentOS-7-Nginx.md index f6ad6a064a..3e3a3e514c 100644 --- a/doc/Installation/Installation-CentOS-7-Nginx.md +++ b/doc/Installation/Installation-CentOS-7-Nginx.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.2.5** +**Please note the minimum supported PHP version is @= php.version_min =@** # Install Required Packages diff --git a/doc/Installation/Installation-Debian-10-Nginx.md b/doc/Installation/Installation-Debian-10-Nginx.md index 92493a8288..9756de6dae 100644 --- a/doc/Installation/Installation-Debian-10-Nginx.md +++ b/doc/Installation/Installation-Debian-10-Nginx.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.2.5** +**Please note the minimum supported PHP version is @= php.version_min =@** # Install Required Packages diff --git a/doc/Installation/Installation-Ubuntu-1604-Apache.md b/doc/Installation/Installation-Ubuntu-1604-Apache.md index d2f31f14ec..851f68b031 100644 --- a/doc/Installation/Installation-Ubuntu-1604-Apache.md +++ b/doc/Installation/Installation-Ubuntu-1604-Apache.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 5.6.4** +**Please note the minimum supported PHP version is @= php.version_min =@** # Install Required Packages diff --git a/doc/Installation/Installation-Ubuntu-1604-Nginx.md b/doc/Installation/Installation-Ubuntu-1604-Nginx.md index e86d8852da..c1caed7778 100644 --- a/doc/Installation/Installation-Ubuntu-1604-Nginx.md +++ b/doc/Installation/Installation-Ubuntu-1604-Nginx.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 5.6.4** +**Please note the minimum supported PHP version is @= php.version_min =@** # Install Required Packages diff --git a/doc/Installation/Installation-Ubuntu-1804-Apache.md b/doc/Installation/Installation-Ubuntu-1804-Apache.md index 5fee8a1759..0c35af2f8d 100644 --- a/doc/Installation/Installation-Ubuntu-1804-Apache.md +++ b/doc/Installation/Installation-Ubuntu-1804-Apache.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.2.5** +**Please note the minimum supported PHP version is @= config.extra.php_min_version =@** # Install Required Packages diff --git a/doc/Installation/Installation-Ubuntu-1804-Nginx.md b/doc/Installation/Installation-Ubuntu-1804-Nginx.md index 40d38409af..59f3dbae92 100644 --- a/doc/Installation/Installation-Ubuntu-1804-Nginx.md +++ b/doc/Installation/Installation-Ubuntu-1804-Nginx.md @@ -6,7 +6,7 @@ path: blob/master/doc/ > at `mysql>` prompts) or temporarily become a user with root > privileges with `sudo -s` or `sudo -i`. -**Please note the minimum supported PHP version is 7.2.5** +**Please note the minimum supported PHP version is @= php.version_min =@** # Install Required Packages diff --git a/mkdocs.yml b/mkdocs.yml index d3c4353c39..53a8827386 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,6 +24,9 @@ markdown_extensions: options: startinline: true plugins: + - macros: + j2_variable_start_string: '@=' + j2_variable_end_string: '=@' - search - exclude: glob: General/Changelogs/* @@ -35,6 +38,8 @@ extra_javascript: extra: article_nav_top: false article_nav_bottom: true + php: + version_min: 7.2.5 site_author: LibreNMS site_description: LibreNMS user and developer documentation repo_url: https://github.com/librenms/librenms/ diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh index ab372100a9..0eadf52f39 100755 --- a/scripts/deploy-docs.sh +++ b/scripts/deploy-docs.sh @@ -9,20 +9,29 @@ fi pip3 install --upgrade pip pip3 install --user --requirement <(cat <