Skip to content
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

Links rework #749

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Links rework #749

merged 3 commits into from
Mar 5, 2024

Conversation

goyalyashpal
Copy link
Contributor

@goyalyashpal goyalyashpal commented Mar 5, 2024

destinations:

seeing the duplicacy in content of some of the readme files, i got a feeling they were autogenerated. is that the case?

@alcarney
Copy link
Member

alcarney commented Mar 5, 2024

Thanks!

seeing the duplicacy in content of some of the readme files, i got a feeling they were autogenerated. is that the case?

No, just some of the content is copy-pasted around 😅

@alcarney alcarney merged commit bdd8e7c into swyddfa:develop Mar 5, 2024
1 of 2 checks passed
@goyalyashpal goyalyashpal deleted the links-rework branch March 6, 2024 03:01
@goyalyashpal
Copy link
Contributor Author

goyalyashpal commented Mar 6, 2024

ahwww, the pypi listing has not took picked up the previous readme changes. ohwkayh. got it.
i think it's similar to f-droid repo then, which picks changes upto the HEAD of the release tag

oh lol, gotta be careful next time 😆. retagging for non-code changes can be ohkay?? but i don't think bumping version just for readme would be good.

moving my comment from swyddfa/awdur#20 here:


though

  • i cant get the restructured text preview, neither in browser, nor in in vscodium to work
  • i installed esbonio like so: pipx install esbonio --include-deps (as per the changes in aforementioned commit)
  • as there's no bin folder in pipx installs; i have set the esbonio-python-path for swyddfa.esbonio vsc-extension like so:
	"esbonio.server.debugLaunch": true,
	"esbonio.server.pythonPath": "<some_dir>/pipx/venvs/esbonio/Scripts/python.exe",
  • the extension shows following warnings and errors on running esbonio: open preview to the side, and no preview pane is shown even for plain standalone .rst files.
  • the vsc extension configuration page doesnt seem to mention anything about conf.py issue.
Unable to find your 'conf.py', features that depend on Sphinx will be unavailable

Abridged logs from output panel:

[Error - <time>] Server initialization failed.
Error: command 'esbonio.server.build' already exists
...
[Error - <time>] Esbonio Language Server client: couldn't create connection to server.
Error: command 'esbonio.server.build' already exists
...
[client] Error: command 'esbonio.server.build' already exists
[Error - <time>] Sending document notification textDocument/didOpen failed
Error: command 'esbonio.server.build' already exists
...

versions:

$ esbonio --version
v0.16.4

$ codium --list-extensions --show-versions | grep esbonio
swyddfa.esbonio@0.11.0

$ codium --version
1.85.0
00c993f9b9a2a07730235274df02f05bd76575f7
x64

$ systeminfo | grep -iA1 "os name"
OS Name:                   Microsoft Windows 10 Home Single Language
OS Version:                10.0.19045 N/A Build 19045

@alcarney
Copy link
Member

alcarney commented Mar 6, 2024

You've found this repo in the middle of a big rewrite, so unfortunately the documentation isn't entirely consistent yet :/

Since you're using v0.11.0 of the VSCode extension, then you will need to refer to this version of the documentation.

To respond to some of your points...

  • Installing esbonio using pipx won't help you too much, the 0.16.x version of the server needs to be installed into the same environment you use to build your documentation. And the upcoming 1.0 release will be distributed as part of the VSCode extension itself (pipx will be the recommended installation option for other editors).
  • The Unable to find your 'conf.py', features that depend on Sphinx will be unavailable warning is expected if you're not using Sphinx. If you are using Sphinx however, then setting the esbonio.sphinx.confDir option to the folder that contains your conf.py should help.
  • Currently, esbonio can only be used to preview Sphinx projects, not standalone rst files.

Alternatively... if you want to try the upcoming 1.0 release you would have to install the 0.92.x pre-release version of the VSCode extension

Hope that clears up some of your issues at least!

@goyalyashpal
Copy link
Contributor Author

goyalyashpal commented Mar 6, 2024

  • Currently, esbonio can only be used to preview Sphinx projects, not standalone rst files.

ahkykayh. i dont know how i inferred or hoped that. prolly i was too used to working with extensions for asciidoc & markdown etc. thanks for sharing & clarifyong things up 😇

anyhow, several hours ago from the pipx install itself, i ran sphinx-quickstart which created this Makefile to perform html generation. i would see to hook it up via entr or smth if available on windows to run automatically on file change & with some html-server to serve those files afresh to the browser.

@alcarney
Copy link
Member

alcarney commented Mar 6, 2024

There's also sphinx-autobuild if you dont want to roll your own :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants