mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use variable for PHP min version in docs (#12256)
* Use variable for PHP min version in docs * Bump mkdocs deps
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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 ##
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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/
|
||||
|
@@ -9,20 +9,29 @@ fi
|
||||
|
||||
pip3 install --upgrade pip
|
||||
pip3 install --user --requirement <(cat <<EOF
|
||||
click==7.1.2
|
||||
future==0.18.2
|
||||
Jinja2==2.11.2
|
||||
livereload==2.6.1
|
||||
joblib==0.17.0
|
||||
livereload==2.6.3
|
||||
lunr==0.5.8
|
||||
Markdown==3.2.2
|
||||
Markdown==3.3.2
|
||||
MarkupSafe==1.1.1
|
||||
mkdocs==1.1.2
|
||||
mkdocs-exclude==1.0.2
|
||||
mkdocs-material==5.2.2
|
||||
mkdocs-macros-plugin==0.4.18
|
||||
mkdocs-material==6.1.0
|
||||
mkdocs-material-extensions==1.0.1
|
||||
nltk==3.5
|
||||
pymdown-extensions==7.1
|
||||
Pygments==2.7.1
|
||||
pymdown-extensions==8.0.1
|
||||
python-dateutil==2.8.1
|
||||
PyYAML==5.3.1
|
||||
regex==2020.10.23
|
||||
six==1.15.0
|
||||
termcolor==1.1.0
|
||||
tornado==6.0.4
|
||||
MarkupSafe==1.1.1
|
||||
tqdm==4.50.2
|
||||
EOF
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user