Giter Club home page Giter Club logo

Comments (4)

tlienart avatar tlienart commented on June 9, 2024 1

Hello @Saransh-cpp help with the docs is very welcome.

what you're suggesting is very close to what is currently being done for the julialang website (see the gh-previews branch: https://github.com/JuliaLang/www.julialang.org/tree/gh-preview/previews). Each of these subfolder contains a functional copy of the site with the changes from that preview and with paths properly set (e.g. href="/previews/PR1682/.... if you look at https://github.com/JuliaLang/www.julialang.org/blob/gh-preview/previews/PR1682/index.html).

I think it would be pretty straightforward to adapt that so that it dumps these preview subfolders onto gh-pages itself in a dedicated folder with a special name (just previews works but there might be a risk of clash). Let's assume for now you keep everything the same and use previews, you'd then do (pretty much as you suggest)

www.fluxml.ai/previews/PR165/

you could even have a robot posting that preview link (as is done on the julialang site except that it's done for Netlify)

hope this helps and ping me here (or from the fluxml repo) if you encounter an issue or would like to review something (and please if all this ends up working for you, an addition to the docs would be amazing, thanks!)

from franklin.jl.

tlienart avatar tlienart commented on June 9, 2024 1

wonderful, thanks in advance for the added section and glad that you made this work @Saransh-cpp (and don't hesitate to link to your repo + site in the docs)

from franklin.jl.

Saransh-cpp avatar Saransh-cpp commented on June 9, 2024

(I can update the docs if this will work, or if someone here has tried this out!)

from franklin.jl.

Saransh-cpp avatar Saransh-cpp commented on June 9, 2024

Thank you for the suggestions, @tlienart! I got this to work!! I will add a new deployment section to Franklin's website this week (and also update some outdated deployment documentation)!

Crossposting this from FluxML/fluxml.github.io -


Here is the working demo -


from franklin.jl.

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.