Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for relative symbolic links. #359

Merged
merged 4 commits into from
Feb 1, 2019
Merged

Option for relative symbolic links. #359

merged 4 commits into from
Feb 1, 2019

Conversation

maauer
Copy link

@maauer maauer commented Jan 31, 2019

This commit uses the code from and solves issue #333.

max (maauer) added 2 commits January 31, 2019 09:31
Edit the copy function in utils.py to take the parameter rellink and if
it is true, create links relative to the source directory. Modify
gallery.py and __init__.py to pass along this parameter. Add rel_link
flag to setting.py
@codecov
Copy link

codecov bot commented Jan 31, 2019

Codecov Report

Merging #359 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
- Coverage   87.39%   87.34%   -0.06%     
==========================================
  Files          18       18              
  Lines        1436     1438       +2     
==========================================
+ Hits         1255     1256       +1     
- Misses        181      182       +1
Impacted Files Coverage Δ
sigal/settings.py 97.87% <ø> (ø) ⬆️
sigal/gallery.py 89.04% <100%> (ø) ⬆️
sigal/__init__.py 86% <100%> (ø) ⬆️
sigal/utils.py 91.22% <100%> (+0.31%) ⬆️
sigal/plugins/watermark.py 86.04% <0%> (-2.33%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e9ffd9...f2f6fbe. Read the comment docs.

@saimn
Copy link
Owner

saimn commented Jan 31, 2019

Thanks! Could you add a test ? There is a test_copy function in test_utils.py.

@maauer
Copy link
Author

maauer commented Feb 1, 2019

I did not realize that pushing would automatically add my commit. I am fixing it.

@saimn saimn added this to the 2.1 milestone Feb 1, 2019
@saimn saimn merged commit 3808bcf into saimn:master Feb 1, 2019
@saimn
Copy link
Owner

saimn commented Feb 1, 2019

Thanks!

saimn added a commit that referenced this pull request Feb 5, 2019
kontza pushed a commit to kontza/sigal that referenced this pull request Aug 28, 2020
Option for relative symbolic links.
kontza pushed a commit to kontza/sigal that referenced this pull request Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants