Skip to content
Discussion options

You must be logged in to vote

And in case it helps, this is plugin.py file that includes the line that repeats "931 more times":

import glob
import os
import pathlib

import mkdocs
from mkdocs.config import config_options
from mkdocs.structure.files import File, Files
from mkdocs.structure.pages import Page
from mkdocs.structure.toc import get_toc
from mkdocs.tests.base import get_markdown_toc

from . import convert


class NotebookFile(File):
    """
    Wraps a regular File object to make .ipynb files appear as
    valid documentation files.
    """

    def __init__(self, file, use_directory_urls, site_dir, **kwargs):
        self.file = file
        self.dest_path = self._get_dest_path(use_directory_urls)
        s…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@squidfunk
Comment options

@squidfunk
Comment options

Answer selected by squidfunk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants