Package Details: mkdocs-material 4.4.3-1

Git Clone URL: https://aur.archlinux.org/mkdocs-material.git (read-only)
Package Base: mkdocs-material
Description: Material design theme for MkDocs
Upstream URL: http://squidfunk.github.io/mkdocs-material/
Licenses: MIT
Submitter: XavierCLL
Maintainer: moscar (dbirks)
Last Packager: dbirks
Votes: 4
Popularity: 0.211010
First Submitted: 2017-03-15 00:01
Last Updated: 2019-10-03 13:05

Pinned Comments

arafey commented on 2017-10-20 03:48

If you are updating from a version below 1.11.0-1 and have previously used pip to install pymdown-extensions, run pip uninstall pymdown-extensions before updating to prevent a conflict between makepkg and pip.

Latest Comments

noraj commented on 2019-07-24 16:23

python-mkdocs-minify-plugin is required else:

$  mkdocs serve                                                                                                                                                                                                                                                                  
INFO    -  Building documentation...                                                                                                                                                                                                                                            
Traceback (most recent call last):                                                                                                                                                                                                                                              
  File "/usr/bin/mkdocs", line 11, in <module>                                                                                                                                                                                                                                  
    load_entry_point('mkdocs==1.0.4', 'console_scripts', 'mkdocs')()                                                                                                                                                                                                            
  File "/usr/lib/python3.7/site-packages/click/core.py", line 764, in __call__                                                                                                                                                                                                  
    return self.main(*args, **kwargs)                                                                                                                                                                                                                                           
  File "/usr/lib/python3.7/site-packages/click/core.py", line 717, in main                                                                                                                                                                                                      
    rv = self.invoke(ctx)                                                                                                                                                                                                                                                       
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1137, in invoke                                                                                                                                                                                                   
    return _process_result(sub_ctx.command.invoke(sub_ctx))                                                                                                                                                                                                                     
  File "/usr/lib/python3.7/site-packages/click/core.py", line 956, in invoke                                                                                                                                                                                                    
    return ctx.invoke(self.callback, **ctx.params)                                                                                                                                                                                                                              
  File "/usr/lib/python3.7/site-packages/click/core.py", line 555, in invoke                                                                                                                                                                                                    
    return callback(*args, **kwargs)                                                                                                                                                                                                                                            
  File "/usr/lib/python3.7/site-packages/mkdocs/__main__.py", line 134, in serve_command                                                                                                                                                                                        
    livereload=livereload                                                                                                                                                                                                                                                       
  File "/usr/lib/python3.7/site-packages/mkdocs/commands/serve.py", line 119, in serve                                                                                                                                                                                          
    config = builder()                                                                                                                                                                                                                                                          
  File "/usr/lib/python3.7/site-packages/mkdocs/commands/serve.py", line 107, in builder                                                                                                                                                                                        
    site_dir=site_dir                                                                                                                                                                                                                                                           
  File "/usr/lib/python3.7/site-packages/mkdocs/config/base.py", line 197, in load_config                                                                                                                                                                                       
    errors, warnings = cfg.validate()                                                                                                                                                                                                                                           
  File "/usr/lib/python3.7/site-packages/mkdocs/config/base.py", line 115, in validate                                                                                                                                                                                          
    post_failed, post_warnings = self._post_validate()                                                                                                                                                                                                                          
  File "/usr/lib/python3.7/site-packages/mkdocs/config/base.py", line 95, in _post_validate                                                                                                                                                                                     
    config_option.post_validation(self, key_name=key)                                                                                                                                                                                                                           
  File "/usr/lib/python3.7/site-packages/mkdocs/config/config_options.py", line 432, in post_validation                                                                                                                                                                         
    config[key_name] = theme.Theme(**theme_config)                                                                                                                                                                                                                              
  File "/usr/lib/python3.7/site-packages/mkdocs/theme.py", line 48, in __init__                                                                                                                                                                                                 
    self._load_theme_config(name)                                                                                                                                                                                                                                               
  File "/usr/lib/python3.7/site-packages/mkdocs/theme.py", line 78, in _load_theme_config                                                                                                                                                                                       
    theme_dir = utils.get_theme_dir(name)                                                                                                                                                                                                                                       
  File "/usr/lib/python3.7/site-packages/mkdocs/utils/__init__.py", line 278, in get_theme_dir                                                                                                                                                                                  
    return os.path.dirname(os.path.abspath(theme.load().__file__))                                                                                                                                                                                                              
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2433, in load                                                                                                                                                                                         
    self.require(*args, **kwargs)                                                                                                                                                                                                                                               
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2456, in require                                                                                                                                                                                      
    items = working_set.resolve(reqs, env, installer, extras=self.extras)                                                                                                                                                                                                       
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve                                                                                                                                                                                       
    raise DistributionNotFound(req, requirers)                                                                                                                                                                                                                                  
pkg_resources.DistributionNotFound: The 'mkdocs-minify-plugin>=0.2' distribution was not found and is required by the application

I installed it and it worked just after. The default theme works without it. So it is a dependency of the material theme.

moscar commented on 2018-08-23 18:40

Can you update this package? Otherwise I'm happy to help as a maintainer as I use it a lot!

arafey commented on 2017-10-20 03:48

If you are updating from a version below 1.11.0-1 and have previously used pip to install pymdown-extensions, run pip uninstall pymdown-extensions before updating to prevent a conflict between makepkg and pip.

arafey commented on 2017-10-19 22:36

Fixing it tonight, thanks for the heads up!

omtcyfz commented on 2017-10-18 10:55

I have issues generating static site using material themes. By the looks of an error ("... pkg_resources.DistributionNotFound: The 'pymdown-extensions>=3.4' distribution was not found and is required by the application") it appears to me that mkdocs-material should require pymdown-extensions. Since pymdown-extensions are already in AUR, it might be reasonable to just add this as a dependency.