Git Product home page Git Product logo

mkdocs_auth's People

Contributors

otsuarez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mkdocs_auth's Issues

Add a license

Hello,

Thank you very much for this work. I would like to use this tool for open source projects but since your repo does not contain License file, this involves that:

If you find software that doesn’t have a license, that generally means you have no permission from the creators of the software to use, modify, or share the software. Although a code host such as GitHub may allow you to view and fork the code, this does not imply that you are permitted to use, modify, or share the software for any purpose.

Would it be possible to add a License to your project? e.g. MIT License?

Best,
Alexandre

make full is failing

When I run make full

ubuntu@test-server:~/mkdocs_auth$ make full
rm -fr site/
mkdir site
mkdocs build --clean
WARNING -  Config value: 'theme_dir'. Warning: The configuration option {0} has been deprecated and will be removed in a future release of MkDocs. 
INFO    -  Cleaning site directory 
INFO    -  Building documentation to directory: /home/ubuntu/mkdocs_auth/site 
ERROR   -  Error building page index.md 
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/__main__.py", line 156, in build_command
    ), dirty=not clean)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/commands/build.py", line 282, in build
    build_pages(config, dirty=dirty)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/commands/build.py", line 242, in build_pages
    _build_page(page, config, site_navigation, env)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/commands/build.py", line 158, in _build_page
    output_content = template.render(context)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/themes/readthedocs/main.html", line 1, in top-level template code
    {% extends "base.html" %}
  File "/home/ubuntu/mkdocs_auth/theme_addons/base.html", line 82, in top-level template code
    <li>{% include "toc.html" %}<li>
  File "/home/ubuntu/miniconda3/lib/python3.6/site-packages/mkdocs/themes/readthedocs/toc.html", line 2, in top-level template code
    <li class="toctree-l{{ navlevel + 1 }}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
jinja2.exceptions.UndefinedError: 'navlevel' is undefined
make: *** [build] Error 1

login fail treatment

If I incorrectly insert my credentials, I am not able to login again.

Have you treated this error?

make full error..

Hello,
when running, make full ...
I get the following error:
rm -fr site/
process_begin: CreateProcess(NULL, rm -fr site/, ...) failed.
make (e=2): El sistema no puede encontrar el archivo especificado.
make: *** [clean] Error 2
how can I solve it?

Not able to install dependencies with pip(Could not find a version that satisfies the requirement pygobject)

root@ip-10-0-0-159:/opt/mkdocs_auth# pip3 install -r requirements.txt 
Requirement already satisfied (use --upgrade to upgrade): asn1crypto==0.22.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1))
Downloading/unpacking backports-abc==0.5 (from -r requirements.txt (line 2))
  Downloading backports_abc-0.5-py2.py3-none-any.whl
Downloading/unpacking certifi==2018.1.18 (from -r requirements.txt (line 3))
  Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB): 151kB downloaded
Downloading/unpacking click==6.7 (from -r requirements.txt (line 4))
  Downloading click-6.7-py2.py3-none-any.whl (71kB): 71kB downloaded
Requirement already satisfied (use --upgrade to upgrade): cryptography==1.9 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5))
Downloading/unpacking enum34==1.1.6 (from -r requirements.txt (line 6))
  Downloading enum34-1.1.6-py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): idna==2.5 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7))
Downloading/unpacking ipaddress==1.0.17 (from -r requirements.txt (line 8))
  Downloading ipaddress-1.0.17.tar.gz
  Running setup.py (path:/tmp/pip_build_root/ipaddress/setup.py) egg_info for package ipaddress
Downloading/unpacking Jinja2==2.10 (from -r requirements.txt (line 9))
  Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB): 126kB downloaded
Downloading/unpacking keyring==10.4.0 (from -r requirements.txt (line 10))
  Downloading keyring-10.4.0-py2.py3-none-any.whl
Downloading/unpacking keyrings.alt==2.2 (from -r requirements.txt (line 11))
  Downloading keyrings.alt-2.2-py2.py3-none-any.whl
Downloading/unpacking livereload==2.5.1 (from -r requirements.txt (line 12))
  Downloading livereload-2.5.1.tar.gz
  Running setup.py (path:/tmp/pip_build_root/livereload/setup.py) egg_info for package livereload
Downloading/unpacking Markdown==2.6.11 (from -r requirements.txt (line 13))
  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB): 78kB downloaded
Downloading/unpacking MarkupSafe==1.0 (from -r requirements.txt (line 14))
  Downloading MarkupSafe-1.0.tar.gz
  Running setup.py (path:/tmp/pip_build_root/MarkupSafe/setup.py) egg_info for package MarkupSafe
Downloading/unpacking mkdocs==0.17.2 (from -r requirements.txt (line 15))
  Downloading mkdocs-0.17.2-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Downloading/unpacking mkdocs-material==2.5.3 (from -r requirements.txt (line 16))
  Downloading mkdocs_material-2.5.3-py2.py3-none-any.whl (120kB): 120kB downloaded
Downloading/unpacking pycrypto==2.6.1 (from -r requirements.txt (line 17))
  Downloading pycrypto-2.6.1.tar.gz (446kB): 446kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pycrypto/setup.py) egg_info for package pycrypto
Downloading/unpacking Pygments==2.2.0 (from -r requirements.txt (line 18))
  Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB): 841kB downloaded
Downloading/unpacking pygobject==3.24.1 (from -r requirements.txt (line 19))
  Could not find a version that satisfies the requirement pygobject==3.24.1 (from -r requirements.txt (line 19)) (from versions: 3.27.0, 3.27.1, 3.27.2, 3.27.3, 3.27.4, 3.27.5, 3.28.0, 3.28.1, 3.28.2, 3.29.1.dev0)
Cleaning up...
No distributions matching the version for pygobject==3.24.1 (from -r requirements.txt (line 19))
Storing debug log for failure in /root/.pip/pip.log

Any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.