Code Monkey home page Code Monkey logo

Comments (4)

robintibor avatar robintibor commented on May 26, 2024 1

I encountered the same issue, documentation seems inconsistent with what happens by default or at least easily misunderstandable.

from fastdoc.

lvwerra avatar lvwerra commented on May 26, 2024

I found that one can easily control the behaviour with the CLI arguments fastdoc_convert_all --dest_path SAVE_PATH --path SOURCE_PATH. Nevertheless, I think the readme needs to be updated or the default arguments changed. To work as explained in the readme the following would work:

def fastdoc_convert_all(
    path:Param("Path to notebooks",str)='./', # instead of 'books'
    dest_path:Param("Path to generated asciidoc files",str)='../convert_book'):

from fastdoc.

sugatoray avatar sugatoray commented on May 26, 2024

I got a similar error after I used:

$ cd book
$ fastdoc_convert_all --path ../book --dest_path ../convert_book
# or if I use just
# fastdoc_convert_all

Error:

FileNotFoundError: [Errno 2] No such file or directory: '../books/images'

However, I found that the output directory was created (../convert_book) with one folder made for each notebook in book folder. The strange thing is that none of the folders had any contents. I found only one file with *.asciidoc format, even-though
I had four notebooks.

Installation: conda install -c fastai nbdev fastdoc

from fastdoc.

jph00 avatar jph00 commented on May 26, 2024

I believe the README is fixed now - feel free to reopen if there are still issues.

from fastdoc.

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.