diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 4b404d4a..f258e7ea 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.3","generation_timestamp":"2024-05-17T12:42:55","documenter_version":"1.4.1"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.3","generation_timestamp":"2024-05-17T13:41:19","documenter_version":"1.4.1"}} \ No newline at end of file diff --git a/dev/10-full-guide/index.html b/dev/10-full-guide/index.html index cd3f3f4f..3c9ac57c 100644 --- a/dev/10-full-guide/index.html +++ b/dev/10-full-guide/index.html @@ -8,4 +8,4 @@ pre-commit install # Future commits can't be directly to main unless you use -n
It is common to have some pre-commit issues due to your package's name length triggering JuliaFormatter.
Create a repo on GitHub and push your code to it.
The actions will run and you will see errors in the documentation and linting. Do not despair.
Go to your package setting on Github and find the "Actions" tab, the "General" link. On that page, find the "Workflow permissions" and change the selection to "Read and write permissions", and enable "Allow GitHub Actions can create and approve pull requests". This will allow the documentation workflow to work for development.
Go to the Actions page, click the failing Docs workflow and click on "re-run all jobs". It should pass now.
Now, go to your package setting on GitHub and find the "Pages" link. You should see an option to set the Source to "Deploy from a branch", and select the branch to be "gh-pages" and to deploy from the "/ (root)".
After circa 1 minute, you can check that the documentation was built properly.
At this point, you should have passing workflows.
You will still need to set a DOCUMENTER_KEY
to build the documentation from the tags automatically when using TagBot (which we do by default). Do the following:
pkg> activate --temp
pkg> add DocumenterTools
julia> using DocumenterTools
-julia> DocumenterTools.genkeys(user="UserName", repo="PackageName.jl")
Follow the instruction in the terminal.
You can reapply the template in the future. This is normally a manual job, specially because normally there are conflicts. That being said, we are experimenting with having a workflow that automatically checks whether there are updates to the template and reapplies it. A Pull Request is created with the result.
This is optional, and in development, so you might want to delete the workflow instead.
If you decide to use, here are the steps to set it up:
YOUR_PACKAGE_URL/settings/secrets/actions
.COPIER_PAT
.Update your CITATION.cff
file with correct information. You can use cffinit to generate it easily.
Before releasing, enable Zenodo integration at https://zenodo.org/account/settings/github/ to automatically generate a deposition of your package, i.e., archive a version on Zenodo and generate a DOI.
Enable GitHub discussions.
Settings
This document was generated with Documenter.jl version 1.4.1 on Friday 17 May 2024. Using Julia version 1.10.3.