-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation updates for Lektor PR lektor/lektor#1065 #350
base: master
Are you sure you want to change the base?
Conversation
This was the case before, but I think it would be good to note some specifics about how the plugins system works internally. It may not be obvious what's going on, and what implications those internals has, and it's all potentially useful for plugin developers. For example
I'm sure there are plenty of possible points of confusion. |
You are not kidding there! I'll see what I can do. (I am not a great writer.) (PRs accepted 😁. I think GitHub will allow you to push directly to my branch for this PR.) As an aside, I really think Lektor should move away altogether from managing the installation of its plugins. The general approach I'm thinking of is to use a single virtual environment per Lektor project. Into that virtualenv gets installed (by means other than running Lektor):
Poetry, pipenv, or plain old pip with a To get to that point, all Lektor, as a project, really needs to do is:
and possibly
Running in a single virtual environment is just so much cleaner. And I don't really see why Lektor should be in the distribution installation business at all. (If it were possible to make plugin use dead-simple, then sure, I see the point; but, as you say, there are a bunch of subtle gotchas that arise from Lektor's attempts to make things so simple, so, in the end, it's not so simple anyway...) |
9561744
to
61de47b
Compare
Documentation updates for PR lektor/lektor#1065.