-
Notifications
You must be signed in to change notification settings - Fork 10
Index out of range error in Drawer.py #2
Comments
Hello! The issue comes from the config file - it wasn't updated in the last release. site-name: "fletxible."
repo-url: "https://github.com/LineIndent/fletxible"
repo-name: "LineIndent/fletxible"
theme:
- bgcolor: "teal"
- primary: "teal700"
navigation:
- Start: "installation.py"
- About: "about.py" You need to have the theme colors inside - you can change the rest as needed. |
Hi @LineIndent thank you for your response. |
Hey - that's very strange. It should work the same across all platforms. What OS are you on? This library was made in a macOS with dark-theme. Technically you can change the bgcolor and almost all colors from inside the code itself. But that would be counterintuitive. I'll look into this and see if I can find a solution. In the meantime you could change the colors manually from within the pages inside the web folder. |
Hi again, |
Hi,
Thank you for making this template.
I tried to install it using pypi and then run fletxible-init.
The web page wont show up and I got this error message:
File "/Users/hurricane/Documents/pscripts/core/drawer.py", line 28, in init
primary = self.docs["theme"][1]["primary"]
~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Is there anyway to fix it?
The text was updated successfully, but these errors were encountered: