Replies: 6 comments 26 replies
-
Hi @lambtho12, I am all for improving the documentation. If that means, cutting the README and linking to parts in the Wiki, I am all for it. However, I am not sure about accessibility - don't know how that works. If it's kind of "pull request" based - that could work, couldn't it? |
Beta Was this translation helpful? Give feedback.
-
Another thought: If we strip the README... Lots of stuff will move into the Wiki. Fair enough. But then the correlation between README and help file gets weaker. Where would we recommend documenting new features? In the README? In the Wiki? Maybe if we just give it a go we'll find out anyway 😄 |
Beta Was this translation helpful? Give feedback.
-
@renerocksai I have more-or-less finished the I will continue working on that this evening and the rest of the week (depending on my availability). Then I will make an issue request and all that stuff when everything will be done. |
Beta Was this translation helpful? Give feedback.
-
BTW, I think you can remove the subdirectory pointing to the wiki from the project. I do not think it is really useful... |
Beta Was this translation helpful? Give feedback.
-
@lambtho12 , thanks for your support and all the great work. At the moment, I hardly have any time for Telekasten.nvim - and this is likely to continue for the next two months. But if you like - I have added you as a collaborator to this repository. As you've proven yourself already 😄, please feel free to merge PRs etc, as you see fit. Let's make this more a community effort - without too many gatekeepers (bottlenecks like me at the moment) - if you like. |
Beta Was this translation helpful? Give feedback.
-
I FOUND A WAY! ---
push-wiki:
# Following methodology in https://gitlab.com/gitlab-org/gitlab/-/issues/16261
image: bitnami/git
script:
- export WIKI_URL="${CI_SERVER_PROTOCOL}://project_${CI_PROJECT_ID}_bot:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.wiki.git"
# Remove old clone and re-clone the project's wiki
- rm -rf "/tmp/${CI_PROJECT_NAME}.wiki"
- git clone "${WIKI_URL}" "/tmp/${CI_PROJECT_NAME}.wiki"
# remove everyting from the wiki and copy docs/ content to it
- rm -rf "/tmp/${CI_PROJECT_NAME}.wiki/*"
- cp -r docs/* "/tmp/${CI_PROJECT_NAME}.wiki/"
# enter the cloned wiki
- cd "/tmp/${CI_PROJECT_NAME}.wiki"
# edit the links to work with wiki
- sed -i -E "s|(\(docs/)|\(|g" *.md
- sed -i -E "s|(.md\))|\)|g" *.md
- sed -i -E "s|(.md\#)|\#|g" *.md
# set committer info
- git config user.name "$GITLAB_USER_NAME"
- git config user.email "$GITLAB_USER_EMAIL"
# commit everything and push to master
- git add --all
- git commit -m "Pushed docs with CI"
- git push origin "HEAD:master"
only:
refs:
- master
changes:
- docs/* Note that I use some sed command at some point to reformat the links. This is because the links should be formatted differently if you browse the wiki or if you browse md files in the he docs folder. |
Beta Was this translation helpful? Give feedback.
-
The README is becoming a little bit longer every week (currently +850 lines), and it is not so easy to navigate. I am not super familiar with the github wiki stuff, but it seems to be a bit more appropriate to host such a detailed documentation and make it easily navigable.
However, I am not sure if it would be possible to have it accessible to everyone for documentation PR and stuff.
What do you think of it?
Beta Was this translation helpful? Give feedback.
All reactions