Comments (3)
Thanks for reporting this @econwang, sorry it's taken so long to take a look! Do you have an example that errors? The examples include e.g. use iso_fortran_env
and the links work ok.
from ford.
Yes, it works with PosixPath
, so no problem on linux, but on windows, it will raise WinError 123
error.
In [1]: import pathlib
In [2]: url = 'https://github.com/Fortran-FOSS-Programmers/ford/issues/648'
In [3]: pathlib.Path(url).resolve()
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
Cell In[3], line 1
----> 1 pathlib.Path(url).resolve()
File C:\Intel\intelpython\lib\pathlib.py:1215, in Path.resolve(self, strict)
1209 def resolve(self, strict=False):
1210 """
1211 Make the path absolute, resolving all symlinks on the way and also
1212 normalizing it (for example turning slashes into backslashes under
1213 Windows).
1214 """
-> 1215 s = self._flavour.resolve(self, strict=strict)
1216 if s is None:
1217 # No symlink resolution => for consistency, raise an error if
1218 # the path doesn't exist or is forbidden
1219 self.stat()
from ford.
Ah, yes I can see how that would be a problem! I think the obvious fix is just skip this for links already beginning with http
from ford.
Related Issues (20)
- Can't link from a page to source code HOT 3
- Bug in logic to skip big or incomplete graphs HOT 1
- Graphs with long edge labels become degenerated HOT 5
- show_proc_parent is ignored HOT 2
- Create FAQ
- Feature request: Option to turn off certain homepage components HOT 1
- Idea: "Source File" link to GitHub
- Update to fontawesome v6 HOT 2
- Fortran keywords are highlighed in a regular preformatted code block HOT 3
- Links are case sensitive HOT 2
- Issue with the BLOCK Statement HOT 1
- Markdown line breaks not working in lists HOT 2
- Documentation generation on my local machine and on github gives different outcomes HOT 6
- Absurdly tall graphs HOT 1
- Multilanguage supported and i18n HOT 1
- Online documentation outdated? HOT 1
- `extra_filetypes: c` fails HOT 2
- Integration with Sphinx
- Support for Doxygen Style Comments
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 ford.