Giter VIP home page Giter VIP logo

docker-docfx's People

Contributors

stewmcc avatar wieschie avatar

Stargazers

 avatar

Watchers

 avatar

docker-docfx's Issues

cant find `docfx.json` when running example

I am trying to run

docker run --rm -it stewmcc/docker-docfx:latest docfx build inside my project folder that contains a docfx.json file but I get the following errors

λ docker run -it stewmcc/docker-docfx:latest docfx build
[19-03-07 04:19:12.784]Error:Either provide config file or specify content files to start building documentation.
am I right in thinking I need to copy my files into the docker image? or should it have access to my local file system to read the files it needs?

Add a version with the tag "latest"

Hi,

maybe it is a good feature to have a file to build the latest version. For example to publish an image with the tag "latest".

I figured out that the uri https://github.com/dotnet/docfx/releases/latest/download/docfx.zip points to the latest release of docfx.zip.

This will always create an image with the latest version of docfx:

&& wget -q -P /tmp https://github.com/dotnet/docfx/releases/latest/download/docfx.zip \
    && mkdir -p /opt/docfx \
    && unzip /tmp/docfx.zip -d /opt/docfx \
    && echo '#!/bin/bash\nmono /opt/docfx/docfx.exe $@' > /usr/bin/docfx \
    && chmod +x /usr/bin/docfx \
    && rm -r -f /tmp/*

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.