Coder Social home page Coder Social logo

Comments (10)

hildrum avatar hildrum commented on June 14, 2024

I created such a page for my fork of this repository here:
http://hildrum.github.io/streamsx.inet/

Are you thinking of something different than this?

from streamsx.inet.

ddebrunner avatar ddebrunner commented on June 14, 2024

Looks like you are well on the way to doing this, looks good.

Will it be automatically updated when new code is committed, e.g. a new operator will make the javadoc appear automatically?

from streamsx.inet.

hildrum avatar hildrum commented on June 14, 2024

That page is for my fork of the inet repository, not for this one. I don't have permission to create a web page for this repository the same way I did for my fork, because I need to use "Settings", which I don't see here.

I'm looking into making the updates appear automatically; I can add a script to generate the new content on a commit, but getting it pushed automatically at the right time seems harder.

from streamsx.inet.

hildrum avatar hildrum commented on June 14, 2024

Initial page created:
http://ibmstreams.github.io/streamsx.inet/

from streamsx.inet.

ddebrunner avatar ddebrunner commented on June 14, 2024

That looks great!

from streamsx.inet.

hildrum avatar hildrum commented on June 14, 2024

Closing this issue--I opened IBMStreams/administration#6 for figuring out a process to make updates easier.

from streamsx.inet.

ddebrunner avatar ddebrunner commented on June 14, 2024

Where does the script live that generates the SPLDOC, I can't see it in the repository?

I'd like to chnage the SPLDOC to create composite images.

from streamsx.inet.

hildrum avatar hildrum commented on June 14, 2024

There's no script--I just ran spl-make-doc separately for the toolkit and the sample and then did the github branches dance to get them pushed up. I'm mulling around in my mind how to do this smoothly via a script.

from streamsx.inet.

ddebrunner avatar ddebrunner commented on June 14, 2024

It would be good to have a script to run spldoc to ensure consistent output, e.g. the title. I'm hoping to contribute the Ant tasks to run spl-make-doc, sc etc that old be used.

So if we got to a point where it was run a script to update docs & instructions on how too push to pages, it would be good.

from streamsx.inet.

hildrum avatar hildrum commented on June 14, 2024

We definitely want a script, I'm just thinking about what I want it to do. I'll probably write one by Monday.

To give you an idea of what I'm thinking about, we have to

  • make your docs in the master branch
  • save your doc stuff somewhere (it doesn't get checked in to the master)
  • switch to the gh-pages branch
  • copy the saved doc stuff into the gh-pages branch (gh-pages branch doesn't have the code)
  • commit to the gh-pages branch
  • push to the gh-pages branch (?) -- but this requires a password (The question mark is because you might not want to push the doc stuff before you've pushed the relevant code changes, so it's not clear whether you'd want this as an automated script.)
  • make sure you end up back in the master branch so the user isn't confused.

I can see a couple of different options--one is to save the docs to /tmp and just do all the work in the same repository clone using git checkout to switch branches. But this can be a problem. Another option is to have a special gh-pages clone--but do we create one in /tmp just for these updates, or do or assume the user already has one, perhaps passed in a command-line argument?

from streamsx.inet.

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.