Coder Social home page Coder Social logo

Comments (22)

ayberkt avatar ayberkt commented on June 26, 2024 1

This is not really an urgent matter and we can address it later. I tried looking at the CI machinery and it seems more complicated than I expected.

Perhaps, someone more familiar with it can tweak it to call agda --html and then tell Travis to publish the generated HTML. I think that should be all? If that's the case, this should be quite easy but as @ice1000 pointed out, GitHub Pages will have to be enabled.

from cubical.

mortberg avatar mortberg commented on June 26, 2024 1

@ice1000 If we're going to do anything about this now might be a good time that we're all working on the library at the same time. Do you think we should do something now?

from cubical.

mortberg avatar mortberg commented on June 26, 2024

Can you send me a link so that I can see what it looks like? Also, where would this be hosted?

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

The stdlib: https://agda.github.io/agda-stdlib

Also we have literate Agda, which allowd us to have: https://ice1000.org/lagda/CubicalAgdaLiterate.html (it's a modified version of your writing! As a CuTT learner, I really appreciate your work!)

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

Reminder: the codes in both links are clickable.

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

As you can see from the stdlib's url, you'll know it's gonna be hosted on GitHub Pages.
It's free and https.

from cubical.

mortberg avatar mortberg commented on June 26, 2024

This looks good. How often does the html pages get generated?

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

@mortberg We can let the CI do the work. In agda-stdlib, we have a GH_TOKEN global variable that stores someone's GitHub token which has the rights to push to a branch of agda-stdlib.

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

So every git-push will trigger the change of the website.

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

I think we can start working on this.

from cubical.

ayberkt avatar ayberkt commented on June 26, 2024

@ice1000

I think we can start working on this.

I second this and can help set it up if an agreement is reached.

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

You should @ @mortberg or @Saizan because they have admin access to this repo, I don't

from cubical.

mortberg avatar mortberg commented on June 26, 2024

What do I need to do? I'm very busy with other things at the moment, so I won't have time to do any work on this until the end of the semester. But if it's just about giving some rights then I can try to do it quickly

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

As well as Travis CI. You need to configure an access token for it

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

HoTT-Coq has this: HoTT/Coq-HoTT#191

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

Surely. When do we do that?

from cubical.

mortberg avatar mortberg commented on June 26, 2024

Maybe Tuesday next week? Do we need to involve someone else?

Note that I'm really clueless about how these things work, but I'm of course happy to help out with providing whatever rights needed to set it up :-)

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

I guess Tuesday works for me, let's see :) I'll try to reach you on AIM.

from cubical.

ayberkt avatar ayberkt commented on June 26, 2024

Until this issue is addressed, those who would like to browse cubical in HTML can use the pages that are automatically generated when I generate HTML from my development that uses cubical.

from cubical.

ice1000 avatar ice1000 commented on June 26, 2024

Similarly I have this page

from cubical.

brendanzab avatar brendanzab commented on June 26, 2024

Just wanna say that this would be greatly appreciated! I've been really glad that the generated Agda Categories sources are available on Github Pages - it's much easier to navigate those as opposed to the sources on Github.

from cubical.

brendanzab avatar brendanzab commented on June 26, 2024

If you are already using github pages then you might be able to use this action to deploy in a pretty pain-free way (I don't think it even requires a token now). I'd recommend making a .github/workflows/cd-ubuntu.yaml file that runs on pushes to master, builds the HTML doc, then runs the JamesIves/github-pages-deploy-action to upload the output directory to pages. Here's an example of what I set up for another (non-Agda) project: https://github.com/brendanzab/ocaml-flake-example/blob/main/.github/workflows/cd.yml

from cubical.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.