Fred Mitchell

Results 16 comments of Fred Mitchell

I was surprised when jupytext did not include the output from the %%timeit magic. See [this](https://github.com/executablebooks/meta/discussions/182) for a more complete discussion of what I discovered today. My sense is that...

If you decide to go with the access token approach, add the following to the notebook configuration file: ```bash c.GitHubConfig.api_url = 'https:///api/v3/' c.GitHubConfig.allow_client_side_access_token = True ``` Without the second line,...

@ian-r-rose - I have been looking a little deeper at this. I could easily make a documentation only PR, but I have questions about the existing structure and behavior. ####...

Could I recommend changing the hard-coded function to: ```python def _split_repo_url(url): """Split a repository URL into an org / repo combination.""" try: org, repo = url.split('/')[-2:] except: SPHINX_LOGGER.warning( f"Could not...

@akhmerov I wanted to leave the API unchanged while freeing it up from hard-coded `github.com`. The existing code makes it fail for GitHub Enterprise (GHE) use. This would at least...

I forked this and tested the code I suggested above. - The Launcher now shows up on a notebook page (good) - The binder URL now is the same as...

@choldgraf Thanks. Except for figuring out the branch and whether the doc is `.md` or `.ipynb`, I can just modify `repobuttons.html` and don't need the `get_edit_url` function, at all. Are...

> I'd just mimic how the "issues button" is created in the sphinx-book-theme template, and follow a similar pattern for the "edit" button instead of using the `get_edit_url` function from...

Thanks. That worked. Just did not know about `page_source_suffix`.

An interesting variation on this. I wanted to execute a code cell that is known to fail but continue executing the notebook regardless. I wanted the book reader to be...