Closed HarryMcCarney closed 1 year ago
Hi @kMutagene
I am trying to generate the docs on branch version/0.1.0. The html files appear to generate correctly but the code comments docs dont seem to be accessible from index.html when running with dotnet fsdcocs watch --eval
I am generating the docs with .\build.cmd PreRelease
Please let me know what I am doing wrong.
Many thanks, Harry
If you want to watch the docs locally, i'd suggest using ./build.cmd watchdocs
. I think the main difference is that using this buildchain it is made sure that the dlls are built and accessible for api docs generation. At least for me, this is how the api reference looks like on the branch you specified:
For the best results, API docs should be written in the .NET XML doc format. See for example here in plotly which generates this page: https://plotly.net/reference/plotly-net-chart2d-chart.html#Point
Also, new documentation files will not show up on the index page during a watch session. So if you add new docs pages, you have to re-run the watch command (or manually type the url of the new file).
Hi Kevin,
I have just released version 0.1.0. It seemed to work fine and the package is published to nuget.
But I can't access the docs. The GH Action logs say they are published to https://fslab.org/Graphoscope/ but I get a 404 on that URL and on https://fslaborg.github.com/graphoscope/
I also made the repo public as it doesn't seem possible to use GH pages in a private repo, and now we have an initial version, I think its time.
Please let me know how I can resolve this.
thanks! Harry
It seems like you are pushing commits to gh-pages that are not on main. I would not recommend this. The workflow of publishing docs with the current repo setup should look like this:
releaseDocs
build target, or set up a github action that releases docs on commit.So, we can fix this via:
So i'd suggest you move everything you added on gh-pages to your target branch and i'll take care of the rest
It also seems like fsdocs artifacts ended up being committed to multiple branches. Looks like i forgot to add those to the gitignore
Hi @kMutagene,
we managed to publish something on Doc Page.
Although we changed the
Thanks
@DoganCK Which command did you use to publish the current state of the docs and on which branch? I'll try to reproduce this locally.
@kMutagene we used ./build.sh releaseDocs on the main branch. The locally generated output seems fine. But the documentation doesn't seems to update the root
folder.
It looks to me like you changed the PackageProjectUrl
tag to the correct url
on main, but published the docs from the another branch, where it is still on the github url. Because if I just do build.cmd builddocs
(which is the output that gets pushed to gh-pages
), i get the correct urls in the generated files.
I tried a run of build.cmd releasedocs
from main, and it looks like the issue is resolved. So if you want to publish docs from another branch, you have to adopt the correct url that you fixed on main, see the current deployment on https://fslab.org/Graphoscope
However now it looks like the evaluators are not working, looking into it
Oh, one of the reasons might be that this file is missing for me:
let file = "C:/Projects/Doodles/out.moreno_rhesus_rhesus.txt"
can you commit that file to /docs/data
?
Sorry i forgot the other one, the karate dataset is missing as well
Added. https://github.com/fslaborg/Graphoscope/tree/main/docs/data
zachary.txt
is the karate data
I created 2 PRs that should fix any issues we currently see (see the current deployment at https://fslab.org/Graphoscope).
Thanks @kMutagene !
This should include section on creating graphs from edge lists and running basic operations and algorithms in an fsx environment.