Comments (5)
I believe you can push these docs yourself.
from purescript-strings.
Hi @JordanMartinez I gave this a shot (in fact live on stream so you can check it out at https://twitch.tv/junxan) but couldn't do it yet. Maybe you can orient me to the next steps?
I noticed v4.0.2 wasn't up on pursuit (and I can't build master as I don't have purescript 0.14 installed), so I checked out that tag. I was able to build, and generate docs locally with:
npx purs docs "src/**/*.purs" "bower_components/*/src/**/*.purs" --format html
I also logged in via pulp login
but pulp publish --no-push
failed with:
repository urls did not match.
* Repository url in your bower.json file:
* git://github.com/purescript/purescript-strings.git
* Repository url in the registry:
* https://github.com/purescript/purescript-strings.git
* Please make sure these urls match.
I made a local commit to change the bower.json file and had to retag as v4.0.2 and got pulp to respond:
Checking your package is registered in purescript/registry... ok
Publishing purescript-strings at v4.0.2. Is this ok? [y/n]
I'm feeling a bit uneasy with publishing from detached head and breaking people's code. I couldn't find a way to only publish docs.
Hope you can help me get unstuck!
from purescript-strings.
Looks like you should use toEnum
now. CodePoint
must lie within a valid range. Also, when Pursuit is out-of-date, you can use Starsuit, which shows documentation for the latest package set.
from purescript-strings.
Hi @jmatsushita! Thanks for taking the time to try and publish this library. We're unfortunately in a transitional period wrt packaging and library publishing, which is why you're running into issues. Typically, as @JordanMartinez mentioned, anyone can upload documentation for a library using pulp publish --no-push
on the tag that's missing upstream.
Right now, you're having an issue because we're switching from Bower for our registry to our own PureScript registry (https://github.com/purescript/registry). Bower files which are using git://github.com/...
have to be updated to use https://github.com/...
so that the documentation can be published. This is an irritating state of affairs, but soon the documentation on Pursuit will be automatically pulled from the registry, and so it'll automatically be up to date and no one will have to push documentation in the first place 💯
For the time being I'd recommend using Starsuit like @JordanMartinez suggested, or generating the documentation locally if you need it for a particular tag and it's not available on Pursuit. This is just a temporary measure -- in the future you'll be able to see up-to-date versions of docs across the ecosystem on Pursuit.
We're about to make a round of releases across the core libraries so we'll make sure the docs are up to date at the same time.
from purescript-strings.
Thanks for the explanation, it makes a lot of sense and I can use Starsuit for now. Good luck with the transition!
from purescript-strings.
Related Issues (20)
- Data.String.CodePoints.uncons probably isn't constant-time HOT 4
- stripPrefix performs full linear search in order to check if index is 0
- Add startsWith and endsWith HOT 12
- Data.String.Unsafe.char is not Unicode-aware HOT 1
- Suggestion: allow `slice (length s) (length s)` on Strings HOT 15
- Add trimStart/trimEnd?
- Add support for matchAll? HOT 1
- Add support for dotAll flag? HOT 5
- Allow slicing from index to end of string HOT 1
- `split` should return a NonEmptyArray? HOT 3
- fromCharCode BMP HOT 5
- CodePoints.uncons performance optimization? HOT 3
- Efficient CodePoint indexing function? HOT 11
- Add a `isWellFormed` function? HOT 2
- Reuse `Replacement` in `Regex.replace` HOT 2
- genUnicodeString generates invalid unicode HOT 4
- Should `localeCompare` return in `Effect`? HOT 7
- Add takeEnd & dropEnd
- Remove bounds check and exception from Data.String.Unsafe foreign code? HOT 3
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 purescript-strings.