Comments (6)
I'll implement this 👍
from mkdocs.
See also @pawamoy's comment:
If it can detect that the URL is already open in a tab, then that would be best.
from mkdocs.
OK let's say the URL is already open in a tab, what should it do then? Just not open the browser? I think that's worse than opening the browser even if the tab will be duplicated. Unfortunately there's no implementation for "focus an existing tab if possible".
from mkdocs.
It makes a sense: a duplicated tab should not be a big deal.
from mkdocs.
one of the problems I met was with async: the time it might take for the page to load on the browser, versus the time it takes for the server to start.
Hmm for me it worked reliably. Could you try my pull request and see if you run into such issues with it?
from mkdocs.
I think that's worse than opening the browser even if the tab will be duplicated.
Yeah that's what other tools do anyway. We can discard my comment about detecting the tab.
from mkdocs.
Related Issues (20)
- Mkdocs plugin loggers don't use `extra` kwarg formatting messages HOT 7
- exclude_docs config set up to include .github/ files still gives 404 HOT 1
- Footnote support
- Directories are always put last in automatic navigation
- dynamic site_dir with configurable prefix HOT 5
- Pass LAZY_OL=False to the OListProcessor through mkdocs config in order to preserve numbering in ordered lists? HOT 1
- Google Analytics 4 tag not appearing in <head>
- Render markdown based on query params
- Limit search results text?
- readthedocs: `prev_next_buttons_location` always at bottom - not working? HOT 2
- Allow multiple hook files HOT 4
- Mkdocs uses grayscale rendering for fonts compared to majority of the sites which use subpixel rendering
- Markdown headings in html element HOT 1
- With `mkdocs serve` switch to another port if the current port is busy
- Building MkDocs' documentation HOT 3
- Improve formatting of watched paths when running `mkdocs serve`
- Feature Request: Configurable 'changefreq' Value in Sitemap Template HOT 1
- Hatch `docs ` env is broken. HOT 2
- ModuleNotFoundError: No module named 'griffe.agents.extensions' happens when mkdocs gh-deploy 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 mkdocs.