-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Update repo wiki page based on docs #3069
Open
oumad
wants to merge
8
commits into
chaiNNer-org:main
Choose a base branch
from
oumad:misc/wiki-workflow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+79
−2
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0dcc519
changed the doc files and added workflow for wiki
oumad f1593ce
changed branch for test
oumad ce7f0de
workflow push test
oumad 077dbb4
fixed home and troubleshooting file name
oumad 8243760
switch workflow back for main
oumad 93a7a5a
changed personal token and email with placeholders
oumad e6981d6
README document links now point to the wiki
oumad d9ac50c
Merge branch 'main' into misc/wiki-workflow
oumad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Publish Wiki | ||
|
||
# Trigger this action only if there are changes pushed to the wiki/** directory under the main branch | ||
on: | ||
push: | ||
paths: | ||
- docs/** # This includes all sub folders | ||
branches: | ||
- main # This can be changed to any branch of your preference | ||
|
||
env: | ||
USER_TOKEN: <USER_TOKEN_ENV_VARIABLE> # This is the repository secret | ||
USER_NAME: <USER_NAME> # Enter the username of your (bot) account | ||
USER_EMAIL: <USER_EMAIL> # Enter the e-mail of your (bot) account | ||
OWNER: ${{ github.event.repository.owner.login }} # This is the repository owner | ||
REPOSITORY_NAME: ${{ github.event.repository.name }} # This is the repository name | ||
|
||
jobs: | ||
publish_wiki: | ||
name: Publish wiki | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Pull content from wiki | ||
run: | | ||
mkdir tmp_wiki | ||
cd tmp_wiki | ||
git init | ||
git config user.name $USER_NAME | ||
git config user.email $USER_EMAIL | ||
git remote add origin https://[email protected]/$OWNER/$REPOSITORY_NAME.wiki.git | ||
git fetch origin | ||
git checkout master || git checkout -b master | ||
git pull origin master | ||
|
||
- name: Push content to wiki | ||
run: | | ||
rsync -av --delete docs/ tmp_wiki/ --exclude .git | ||
cd tmp_wiki | ||
git add . | ||
git commit -m "Update Wiki content" || echo "No changes to commit" | ||
git push origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Welcome to the ChaiNNer Wiki ! | ||
|
||
This wiki serves as a comprehensive guide to ChaiNNer, a visual programming language and development environment for chaining image processing tasks together. Below are the key sections of the documentation: | ||
|
||
## Table of Contents | ||
|
||
**[[01--Contributing]]** - *Overview of how to contribute to the ChaiNNer project, with setup instructions and project structure.* | ||
|
||
**[[02--Data-Representation]]** - *Details on how ChaiNNer handles various data types such as images, text, and numbers, along with conventions for node implementations.* | ||
|
||
**[[03--Nodes]]** - *Information about nodes in ChaiNNer, covering their structure, rules, and methods for implementation.* | ||
|
||
**[[04--Navi]]** - *Overview of the Navi type system used for static validation and real-time feedback in ChaiNNer.* | ||
|
||
**[[05--CLI]]** - *Instructions for operating ChaiNNer in command-line interface mode, allowing for chain execution without a GUI.* | ||
|
||
**[[06--Troubleshooting]]** - *Solutions to common issues encountered while using ChaiNNer, addressing installation and runtime problems.* | ||
|
||
**[[07--FAQ]]** - *Answers to frequently asked questions about ChaiNNer, including feature requests and usage scenarios.* | ||
|
||
## Additional Resources | ||
|
||
For more information, check out the individual sections linked above. If you have any questions or need further assistance, feel free to reach out to the community in [discord](https://discord.gg/pzvAKPKyHM) or [open an issue](https://github.com/chaiNNer-org/chaiNNer/issues) on the GitHub repository. | ||
|
||
--- | ||
|
||
Thank you for visiting the ChaiNNer wiki! |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these need to be filled out with anything?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes they do, for the CI to run, there needs to be the environment variable for the user token secret, kind of like
secrets.GITHUB_TOKEN
that you have inrelease.yml
workflow.for the name and email, those are for the commits, so we can see in the wiki where the updates come from. It usually shows as "revisions".