Comments (3)
by the way, if I try to run pytest, one test is failing :
======================================================================== test session starts ========================================================================
platform linux -- Python 3.8.3, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 -- /home/pkestene/local/miniconda3/envs/eclairs/bin/python
...
tests/core/test_core_name.py::test_rename_pattern PASSED [ 11%]
tests/core/test_core_page.py::test_pages FAILED [ 11%]Coverage.py warning: No data was collected. (no-data-collected)
============================================================================= FAILURES ==============================================================================
____________________________________________________________________________ test_pages _____________________________________________________________________________
def test_pages():
paths = [os.path.normpath(os.path.join(pheasant.__file__, "../../tests/docs/docs"))]
pages = Pages(paths, "py,md")
pages.collect()
> d = pages[0].to_dict()
tests/core/test_core_page.py:12:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = Pages(paths=['/home/pkestene/.local/lib/python3.8/site-packages/pheasant-2.5.4-py3.8.egg/tests/docs/docs'], ext='py,md', _pages=[]), index = 0
def __getitem__(self, index):
> return self._pages[index]
E IndexError: list index out of range
/home/pkestene/.local/lib/python3.8/site-packages/pheasant-2.5.4-py3.8.egg/pheasant/core/page.py:112: IndexError
from pheasant.
Hi,
MkDocs changed its plugin signature in Version 1.1.1, so please update MkDocs to Version 1.1.1 or later, if possible.
I'm nor sure about Pytest failing but at least on Travis, the test was passed here (Python 3.8/Linux)
from pheasant.
ok, thank you.
- with mkdocs 1.1.1 it's ok; I don't see any requiment upon mkdocs >= 1.1.1 in pheasant sources, maybe it could be added ?
- the unit test is still failing...
from pheasant.
Related Issues (11)
- mkdocs fails to build documentation with pheasant if 'nav' isn't specified HOT 2
- docstring of get_render_name has a typo - mattched
- Included other markdown or python files dont get updated
- Comment in python inline code leads to problem HOT 1
- Just run python withiin brackets HOT 1
- Nav numbers start appearing when using pheasant HOT 2
- pheasant use string_types which is not provided by mkdocs HOT 4
- Display only the results HOT 2
- Pheasant and tabbed extension
- LiveReloadServer object has no attribute 'watcher'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pheasant.