Comments (4)
@adfi A few options that are workarounds:
(1) You could use absolute paths (local only, so maybe not that useful)
(2) You could edit jupyter_notebook_config.py
to customize the save function like we do to also copy the files you reference in markdown separately to the markdown folder.
A couple options for us to better support this scenario:
(3) Would it work for you if the markdown and the original notebook just lived in the same folder? That the relative links to resources would be the same. We could provide an organize_by
option that does not place the output in a subfolder.
(4) Would it work for you to specify a folder in .nbautoexport
of assets to be copied to the subfolder? That's another possible implementation on our end.
from nbautoexport.
Thanks for your reply.
(1) As you say this one isn't what we're looking for
(2) I don't really know how to customize the save function, if you have an example that would be helpful.
(3) That would be helpful in general
(4) This would be a good backup in case (3) doesn't work
from nbautoexport.
Awesome, we'd definitely take a PR for 3, which should be easy. Here's the relevant code block:
nbautoexport/nbautoexport/export.py
Lines 99 to 102 in 3e9a1ed
To implement it, we'd need a few things:
- add new if block with
organize_by == 'none'
and setsubfolder = None
(which - add a test
- add documentation
from nbautoexport.
Thanks for the guidance, I'll try to work on it this week.
from nbautoexport.
Related Issues (20)
- Failed build on master branch (tests #273) HOT 1
- Cells with cell magic output the contents as a really long string! HOT 2
- mkdocstrings does not work with latest setuptools (docs fail to build) HOT 1
- Failed build on master branch (tests #280) HOT 1
- Failed build on master branch (tests #281) HOT 1
- Failed build on master branch (tests #282) HOT 1
- Failed build on master branch (tests #284) HOT 1
- Failed build on master branch (tests #306)
- Failed build on master branch (tests #307)
- Failed build on master branch (tests #308)
- [deploys] Netlify build image needs an update HOT 2
- Failed build: tests HOT 1
- Failed build: tests - Pydantic v2 HOT 4
- Failed build: tests HOT 1
- notebook.services replaced in notebook version 7.0.0 HOT 1
- Failed build: tests
- Failed build: tests HOT 1
- Failed build on master branch (tests #262) HOT 1
- Failed build on master branch (tests #271) HOT 1
- Failed build on master branch (tests #272) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbautoexport.