-
Notifications
You must be signed in to change notification settings - Fork 176
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
Request: Github Wiki Support #47
Comments
thanks @favna i think this would be a useful addition - i will look into it |
@favna I'm guessing you've either solved this or moved on, but I've been using generating Typedoc documentation as markdown and uploading it to my Github Wiki - that project is private unfortunately, but I wrote this script to more nicely format the documentation for the wiki.
# Update docs
yarn docs
# Flatten docs structure
cd docs
originalPaths=`find . -mindepth 2 -type f`
find . -mindepth 2 -type f -exec mv {} . \;
find . -type d -empty -delete
# Strip out folder structure from links to support Github Wiki
while read -r line; do
# Remove leading ./ from each file name
line=` sed "s|^./||" <<< $line `
trimmedLine=` sed "s|.*/||" <<< $line `
sed -i '' -e "s|${line}|${trimmedLine}|" *
done <<< "$originalPaths"
# Strip out .md from raw text to support Github Wiki
sed -i '' -e 's/.md//' *
# Return to <project>
cd ../
# Clone Wiki Repo
cd ../
git clone <project.wiki.git>
# Copy docs into wiki repo
cp -a <project>/docs/. <project>.wiki
# Create commit and push in wiki repo
cd <project>.wiki
git add -A
git commit -m "Some Commit Message"
git push All that said - I eagerly hope for a fully supported GitHub Wiki theme from @tgreyuk |
Interesting @msspshaw. I have indeed moved on - these days I have a secondary tsconfig ( You can see an example of this in this library repo of mine. You can check |
So no support for GitHub friendly markdown? |
Right now my project awesome-querystring (as well as other projects) gets output to a whole slew of files and folders that are by no means GitHub Wiki compatible which expects all files in the root output folder and especially to not start with a
_
as those are not displayed as potential pages.Example of a GitHub wiki files tree for my discord bot project
So in short some requirements:
-
_
, they are the GitHub proprietary files (like the footer and sidebar)In all honesty the ideal scenario I would want to be able to attain with Typedoc and thus this plugin is something like this markdown. Right now I achieve this through JSDoc but you can probably imagine it would be far more proper to use TypeDoc in a TypeScript based project.
google
Searches GoogleCommand - Gets information through Google
Note: prioritizes Knowledge Graphs for better searching
Aliases:
search
,g
Category: searches
string
Thing to find on Google
Example
google Pyrrha Nikos
From these document tags:
The text was updated successfully, but these errors were encountered: